cSetHeader Standard properties

SetHeader - Mediation

author
Talend Documentation Team
EnrichVersion
6.5
EnrichProdName
Talend Data Services Platform
Talend Real-Time Big Data Platform
Talend ESB
Talend MDM Platform
Talend Data Fabric
Talend Open Studio for ESB
task
Data Governance > Third-party systems > Processing components (Mediation) > SetHeader components (Mediation)
Design and Development > Third-party systems > Processing components (Mediation) > SetHeader components (Mediation)
Data Quality and Preparation > Third-party systems > Processing components (Mediation) > SetHeader components (Mediation)
EnrichPlatform
Talend Studio

These properties are used to configure cSetHeader running in the Standard Job framework.

The Standard cSetHeader component belongs to the Core family.

Basic settings

Headers

Click [+] to add as many headers as required to the table.

Name: Type in a name for the message header.

The header name CorrelationID is reserved. The value of this header will be overridden by the correlation ID of the message if it exist.

 

Language: Select the language of the expression you use from None, Bean, Constant, CorrelationID, EL, Groovy, Header, JavaScript, JoSQL, JSonPath, JXPath, MVEL, OGNL, PHP, Property, Python, Ruby, Simple, SpEL, SQL, XPath, and XQuery.

Select Bean if you want to call a predefined Java Bean to return the header value.

Select CorrelationID to use the existing correlation ID of the message as the header value if the correlation ID is available in the closest cSOAP connected to this component. For more information about the cSOAP component, see cSOAP.

 

Value: Type in the expression to set the value of the message header, or the Bean class that will return a value for the message header, in the form of beans.BEAN_NAME.

If CorrelationID is selected in the Language list, this field is grayed out. The existing correlation ID from the closest cSOAP connected to this component will be set as the header value. For more information about the cSOAP component, see cSOAP.

Add Namespaces

Select this check box to add namespaces for the expression. Click [+] to add as many namespaces as required to the table and define the prefix and URI in the corresponding columns.

Usage

Usage rule

cSetHeader is used as a middle component in a Route.

Limitation

 n/a