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" <[email protected]>
Sent: Thursday, April 26, 2012 3:02pm
To: [email protected]
Subject: Re: Duplating Messages



On 04/26/2012 07:59 PM, [email protected] 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to