MobileNumberWashValve
Note
Valve for cleaning mobile numbers, i.e. remove whitespaces, adding prefixes etc.
Properties
Name | Description | Default value | Mandatory | Supports property expansion |
---|---|---|---|---|
source | Property containing the recipient mobile number. | Yes | Yes | |
dest | Property where the washed recipient mobile number will end up. | Yes | Yes | |
recipient_prefix | Prepends the recipient number with a country prefix if it starts with '0'. (example: +46) | No | No | |
force_prefix | Always prepends the recipient number with the configured prefix. | false | No | No |
remove_leading_plus | If the leading + character should be removed from the mobile number. | false | No | No |
Example Configuration
{
"name": "MobileNumberWashValve",
"config": {
"source":"mobile",
"dest":"mobile",
"recipient_prefix" : "+46",
"force_prefix" : "true",
"remove_leading_plus" : "false"
}
}
Requirements
Item set must have at least one entry.