Read the documentation [1]. [1] http://camel.apache.org/parameter-binding-annotations.html
Best, Christian On Wed, Dec 19, 2012 at 6:53 PM, sprabu <sathiyapr...@gmail.com> wrote: > Hi, > How to set the or pass the JMS Message ID as a parameter, when i'm passing > in to annotation based parameters. Also i want to get the correlationID > from > the message. > Please help me here. > This is the code snippet i used. > @Consume(uri = "queue:com.TaskQueue1") > @Handler > @XPath("//TASK_ID") public void handle(@XPath("//WR_NO") String > msg_id, > > @XPath("//MSGE_SEQ_NUMBER") String messag_seq_num, ....(Here i > want to > pass the JMS Message id and Correlation ID as parameter by using > annotaion)..) > > Thanks! > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-get-the-JMS-message-ID-and-set-correlation-ID-tp5724389.html > Sent from the Camel - Users mailing list archive at Nabble.com. > --