Message enricher

Message enricher

The Message enricher is a service which can enrich the MessageParts in the ConnectMessage. This means you can change MessageParts or even create them.

In the table below, you will find an explanation of these properties. All attributes with a ‘*’ are mandatory.

Attribute

Description

Name*

By default, we fill this out with the technical ‘tag’, followed by a serial number. Changing the name is optional.

Enabled

Check this box if you want this service to be enabled.

Overwrite

Allow overwriting of existing message parts.

Messagepart

Here, you can change or create MessageParts.

By pressing  , you can create one or more extra MessagePart property lines. The MessagePart properties are explained in the table below. You can also remove a MessagePart property line by pressing the   button next to the MessagePart property line you want to remove.

In the table below, you will find an explanation of the properties of a MessagePart. All attributes with a ‘*’ are mandatory.

Attribute

Description

Message Part function

Function to execute on the ConnectMessage. When using 'move' or 'copy', you should define the 'Source Part Name' from where the part will be copied or moved to the part named in 'Part Name'. 'Add' and 'delete' are used to add or delete the part named in 'Part Name'.

Part Name*

Name of MessagePart to add. Use this field to define the MessagePart's name. When using Add, Move or Copy, a new MessagePart with this name will be created if it does not exist yet.

Part value

Value of MessagePart to add. Use this field to define the MessagePart's content. You may also use the :header[] syntax to write the value of an existing header into the MessagePart's content.

Part type

Type of the value of the MessagePart. You can choose between TEXT, BYTE_ARRAY, DOCUMENT and OBJECT. By default this is set to TEXT.

Source Part Name

Name of the source MessagePart for either copy or move operations.

Overwrite existing value

Here, you can specify whether the existing MessagePart has to be overwritten by choosing ‘true’ or ‘false’. On default the MessagePart will not be overwritten.