how to retrieve JMSHeader values in cJMS component

One Star

how to retrieve JMSHeader values in cJMS component

Using tMomInput element, through its Advanced settings, I am able to retrieve JMSHeader data such as "ReplyTo" from the incoming message, how do I do the same using cJMS component?
Employee

Re: how to retrieve JMSHeader values in cJMS component

JMS "headers" (strictly speaking JMS message properties) are translated into Camel headers by default.  See the camel-jms component http://camel.apache.org/jms.html .  
One Star

Re: how to retrieve JMSHeader values in cJMS component

so it should be in "${in.header}"? how abut JMS Properties?

Thanks
One Star

Re: how to retrieve JMSHeader values in cJMS component

Thank you eost!

As you said, it is actually the JMS Properties get converted to Camel headers, the standard JMS headers such as ReplyTo are NOT translated. 

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

An API-First Approach to Modernizing Applications

Learn how to use an API-First Approach to Modernize your Applications

Watch Now

Talend API Designer – Technical Overview

Take a look at this technical overview video of Talend API Designer

Watch Now

Getting Started with APIs

Find out how to get started with APIs

Read