camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kannan <>
Subject Re: example to set priority in message?
Date Tue, 14 Sep 2010 16:07:01 GMT

I used custom headers instead of JMSPriority to resequence message based on
custom priority header. where as  the consumer is not consuming  based on
resequence order.

<route errorHandlerRef="deadLetterErrorHandler">
      <from ref="queue1" />
         <to uri="mock:result" />
         <batch-config batchSize="300" batchTimeout="4000" />        
          <simple>${body} is Foo</simple>
          <bean ref="service" method="save" />
          <simple>${body.entity} is Bar</simple>
          <bean ref="userservice" method="update" />
      <transacted ref="required" />

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message