activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Venkatg <venkata...@yahoo.com>
Subject Re: Changing Message Selector
Date Mon, 07 Aug 2006 11:06:11 GMT

Thanks James,

 How to change the selector using ActiveMQ APIs.

The following code is working fine
consumer.close();
consumer = session.createConsumer(topic, filter);
consumer.setMessageListener(this);

But my only concern with the above code is, consumer might lose some of the
messages published during close and create( small winodw but application
will be out of sync event if one message is lost)

Let me know if there is any better to do the same

Thx
 Venkat
-- 
View this message in context: http://www.nabble.com/Changing-Message-Selector-tf2062812.html#a5683038
Sent from the ActiveMQ - User forum at Nabble.com.


Mime
View raw message