JMS Message ID extractionHi

Hi All,
I am using the JMS MQ adapter. After sending the message I would like to extract the Message ID from the message header.

What is the right way to do it?

I wrote a small Java service expecting the JMSMessage to be of type javax.jms.Message but that is not the case & I am getting a class cast exception.

Thanks in advance,
Rn

For debugging any ClassCastException in a service, I usually put in a pub.flow:TracePipeline at the start of the service and that will dump the structure and Java classNames for all the values of everything in the pipeline.

HTH,
Fred