qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nithesh Shetty <knitheshshe...@yahoo.com>
Subject Re: get message by correlationId
Date Mon, 11 Jul 2011 12:28:03 GMT
Hi,

I am using QPID 8 trying to get message by id .

Hope it has been implementated. and can u please give me the link of
the example to get message id.

Regards,

Nithesh

--- On Fri, 8/14/09, Marnie McCormack <marnie.mccormack@googlemail.com> wrote:

> From: Marnie McCormack <marnie.mccormack@googlemail.com>
> Subject: Re: get message by correlationId
> To: users@qpid.apache.org
> Date: Friday, August 14, 2009, 12:42 PM
> Hi Bill,
> 
> You can use JMS message selectors to get the message you
> want from the
> queue/topic, you specify the selector string on the
> creation of the consumer
> (via the Session) e.g.
> session.createConsumer(queue,"JMSCorrelationID="+correlationID)
> 
> Hth,
> Marnie
> 
> 
> 
> 
> On Fri, Aug 14, 2009 at 1:23 PM, Bill Whiting <textux@bellsouth.net>
> wrote:
> 
> > So the only way to receive a specific message by the
> correlationId (at this
> > time) would be to browse the queue looking for the
> correct message?
> >
> > //Bill
> >
> >
> > On 08/14/2009 02:58 AM, Gordon Sim wrote:
> >
> >> Bill Whiting wrote:
> >>
> >>> Is there a sample program or documentation
> that shows getting a message
> >>> from a queue by the correlationId or
> messageId?
> >>>
> >>
> >> We don't I'm afraid (assuming you are talking
> about the c++ broker). We
> >> hope to add in selectors shortly however and this
> would be a good example to
> >> add at that time.
> >>
> >>
> ---------------------------------------------------------------------
> >> Apache Qpid - AMQP Messaging Implementation
> >> Project:      http://qpid.apache.org
> >> Use/Interact: mailto:users-subscribe@qpid.apache.org
> >>
> >>
> >>
> >
> >
> ---------------------------------------------------------------------
> > Apache Qpid - AMQP Messaging Implementation
> > Project:      http://qpid.apache.org
> > Use/Interact: mailto:users-subscribe@qpid.apache.org
> >
> >
> 

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


Mime
View raw message