Hi,

Say I have something like:

from("foo:bar")
   .process(..)
   .to(ExchangePattern.InOnly,"jms:queue:somewhere") // don't want a 
request/reply here
   .bean(customLoggerBasedOnJmsMessageId);

But my problem is, how can I retrieve the JMS message ID after the message is 
sent (InOnly)? Since the Message ID is created automatically by the JMS 
implementation. This is well possible in plain JMS in java, i.e.
producer.send(myMsg);
log(myMsg.getJMSMessageID());

Does any of you have any input to this issue?

Best regards Petter Nordlander

Reply via email to