regExReplacer
Can be used in
proxy, serviceProxy, transport, beans
Syntax
<regExReplacer regex="string" replace="string" />
Listing 1: regExReplacer Syntax
Sample
<serviceProxy port="2000"> <regExReplacer regex="Hallo" replace="Hello" /> </serviceProxy>
Listing 2: regExReplacer Example
Attributes
| Name | Mandatory | Default | Description | Example |
|---|---|---|---|---|
| regex | yes | - | Regex to match against the body. | Hallo |
| replace | yes | - | String used to replace matched parts. | Hello |