A configurable message transformer that allows users to add, overwrite, rename and delete properties on the current message. Users can set a {@link List} of 'deleteProperties' regular expressions to remove the matching properties from the message and can also set a {@link Map} of 'addProperties' that will be added to the message and possibly overwrite existing properties with the same name.
If {@link #overwrite} is set to false
, and a property exists on the message (even if the value is null
, it will be left intact. The transformer then acts as a more gentle 'enricher'. The default setting is true
.
|
|
|
|