You need to set preserveMessageQos=true on the jms endpoint Some details here: http://camel.apache.org/jms
On Wed, Nov 6, 2013 at 8:59 AM, CamelTyro <[email protected]> wrote: > I made the below code to set priority before sending message to activemq: > .setHeader("JMSPriority", constant(9)).wireTap("activemq:queueName"); > but the message's priority in amq broker is 4, not 9. > > How to set priority for activemq outbound when routing? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/how-to-set-priority-for-activemq-outbound-when-routing-tp5742691.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: [email protected] Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
