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 <[email protected]> wrote: > From: Marnie McCormack <[email protected]> > Subject: Re: get message by correlationId > To: [email protected] > 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 <[email protected]> > 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:[email protected] > >> > >> > >> > > > > > --------------------------------------------------------------------- > > Apache Qpid - AMQP Messaging Implementation > > Project: http://qpid.apache.org > > Use/Interact: mailto:[email protected] > > > > > --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
