WriteMessage - 8.0

Talend Data Mapper Functions Reference Guide

Version
8.0
Language
English
Product
Talend Big Data Platform
Talend Data Fabric
Talend Data Management Platform
Talend Data Services Platform
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Design and Development > Designing Jobs
Last publication date
2023-10-26

Writes this map element to an ESB message.

This function is used as the I/O expression of the element that contains the data to be written. A message will be sent during the map execution from the values of the element containing the I/O expression and any subordinate elements.

Writing Message Properties - if you want to write properties into the message, they can be provided from map elements. To do this the first child map element must specify the WriteMessageProperties I/O function, inherit from the /Builtin/Structures/Properties structure, and must be a loop. When the message is written, the properties of the message are populated from the values in this structure.

You may use this function in multiple map elements in order to write multiple messages. You may not however nest the use of this function. In other words, if a map element contains an I/O expression, no subordinate map element may contain an I/O expression.

This function can only be used in the IO/Database tab.

Properties

Properties Enter the properties to be passed to the message.
Write Execution Context Properties Select this check box if you want to add the map execution context properties to the message. The default is they are not added. When a map is executed, the map execution context properties include the properties of the inbound ESB message that triggered the map.
Representation Select the representation to use when processing this element. This is used if multiple representations are available in the structure inheriting this element.
Endpoint Enter the ESB endpoint to which the message will be sent. With some ESBs the endpoint is a rather physical configuration dependent setting so the use of the message properties are preferred to allow the message to be routed by the settings in the ESB configuration.