How to set IBM MQ specific headers to Camel exchange header so they can be forwarded back to MQ

Solution In Progress - Updated -

Issue

I have a Camel route that gets a message from IBM MQ and after transformation writes it back to MQ.
I want to set the IBM MQ CCSID in the MQMD header of a message by using the IBM JMS properties described in

http://www-01.ibm.com/support/knowledgecenter/SSFKSJ_7.1.0/com.ibm.mq.doc/jm41050_.htm

i.e.
JMS_IBM_MQMD_CodedCharSetId
and
JMS_IBM_MQMD_Encoding

but apparently these properties are ignored if I set them in the exchange.getIn() header.

Environment

  • JBoss Fuse
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content