qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m.luc...@smartasking.com
Subject Re: Duplating Messages
Date Thu, 26 Apr 2012 20:56:13 GMT

hey.. me again ;)
 
not sure if I'm doing this right... creating a consumer with JMSMessageID as a selector but
it's not returning the message even though this message does exist (checked 5 times ;).
 
code:
MessageConsumer acker = (MessageConsumer) session.createConsumer(ack,"JMSMessageID=8165b87f-8e8e-3e97-991f-51b5e45fefab");

 
MapMessage m = (MapMessage)acker.receive();
 
LOG:
main 2012-04-26 17:51:23,901 DEBUG [apache.qpid.filter.JMSSelectorFilter] Created JMSSelectorFilter
with selector:JMSMessageID=8165b87f-8e8e-3e97-991f-51b5e45fefab
 
-----Original Message-----
From: "Gordon Sim" <gsim@redhat.com>
Sent: Thursday, April 26, 2012 3:02pm
To: users@qpid.apache.org
Subject: Re: Duplating Messages



On 04/26/2012 07:59 PM, m.luchak@smartasking.com wrote:
> going for the straight forward approach of creating a new connection to select and ack
the message using ... JMSMessageID I guess?... will try it out...

This has the advantage of being easily transferable to 1.0 if/when needed.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message