2 Replies Latest reply on Apr 3, 2011 1:08 PM by Denis Sukhoroslov

    How to get initial JMS headers after NMR

    Denis Sukhoroslov Newbie



      I have the following routes in my app:


      JMS Consumer (listens on external topic) -> NMR -> Camel JMS Endpoint (gets messages from NMR) -> Custom Processor (bean).


      How can I get standard JMS Headers (JMSType, JMSCorrelationID, JMSRedelivered etc) at my custom processor? At this bean I get an instance of ..nmr.api.Message interface with JMS body and JMS properties but no JMS headers. Is it possible to get them somehow?


      Thanks, Denis.