You can use JMS Message Selectors with Queue Browsers. So if you're looking for messages with a particular value in a particular header, you can create a Message Selector for that.
Regards, *Raúl Kripalani* Apache Camel PMC Member & Committer | Enterprise Architect, Open Source Integration specialist http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani http://blog.raulkr.net | twitter: @raulvk On Wed, Nov 20, 2013 at 1:50 PM, Claus Ibsen <[email protected]> wrote: > No the JMS browse API does not dequeue the messages. > But the browse API cannot access by random index, and it can be > "heavy" to use if you want to browse large queues. > > > On Wed, Nov 20, 2013 at 2:30 PM, LoginJones <[email protected]> wrote: > > Doesn't using browse dequeue the message? > > > > > > > > -- > > View this message in context: > http://camel.465427.n5.nabble.com/a-camel-based-solution-that-can-read-message-headers-without-de-queuing-a-message-from-the-MQ-tp5736556p5743574.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 >
