Hey Raul Thanks for the reply.

I am using IBM MQ/Websphere Message Broker. Here is more detail . Do I need
to configure from WMB broker side?

In my RouteBuilder am doing this :

exchange.getOut.setHeader("JMSPriority",9); 
exchange.getOut.setHeader("JMSMessageId", 1234);

then in the endpoint - I am doing this

.to(mq:queue:<queueName>?preserveMessageQos=true,explicitQosEnabaled=false"
.log("${header.JMSPriority} and ${header.JMSMessageId}")
.end();

In the application log  the JMSPriority  says 9. But in the actual JMS
Message the priority says as 4.

Thanks




--
View this message in context: 
http://camel.465427.n5.nabble.com/setting-JMS-Priroity-9-tp5771688p5771737.html
Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to