Can be used in
Syntax
<regExReplacer regex="string" replace="string" target="header|body" /><regExReplacer regex="string" replace="string" target="header|body" />
Sample
<serviceProxy port="2000">
<regExReplacer regex="Hallo" replace="Hello" />
</serviceProxy><serviceProxy port="2000"> <regExReplacer regex="Hallo" replace="Hello" /> </serviceProxy>
Attributes
| Name | Required | Default | Description | Examples |
|---|---|---|---|---|
| regex | true | - | Regex to match against the body. | Hallo |
| replace | true | - | String used to replace matched parts. | Hello |
| target | false | body | Whether the replacement should affect the message body or the header values. Possible values are body and header. | header |