You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by vishal025 <vi...@dell.com> on 2013/07/31 12:49:07 UTC
a camel based solution that can read message headers without
de-queuing a message from the MQ
I am Trying to make a utility to read the header of a activemq message
without dequeing it using camel please suggest some ideas...
--
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-tp5736556.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: a camel based solution that can read message headers without
de-queuing a message from the MQ
Posted by vishal025 <vi...@dell.com>.
hii thanx for the quick reply can u help me with the spring dsl for browse
component.....
--
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-tp5736556p5736700.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: a camel based solution that can read message headers without
de-queuing a message from the MQ
Posted by Raul Kripalani <ra...@evosent.com>.
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 <cl...@gmail.com> 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 <lo...@rbccm.com> 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: cibsen@redhat.com
> Twitter: davsclaus
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen
>
Re: a camel based solution that can read message headers without
de-queuing a message from the MQ
Posted by Claus Ibsen <cl...@gmail.com>.
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 <lo...@rbccm.com> 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: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Re: a camel based solution that can read message headers without
de-queuing a message from the MQ
Posted by LoginJones <lo...@rbccm.com>.
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.
Re: a camel based solution that can read message headers without
de-queuing a message from the MQ
Posted by Claus Ibsen <cl...@gmail.com>.
You can browse messages on a JMS message queue. There is a JMS API for that.
And the Camel browse component.
http://camel.apache.org/browse
On Wed, Jul 31, 2013 at 12:49 PM, vishal025 <vi...@dell.com> wrote:
> I am Trying to make a utility to read the header of a activemq message
> without dequeing it using camel please suggest some ideas...
>
>
>
> --
> 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-tp5736556.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen