You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by rcml <rm...@yahoo.com> on 2006/08/02 21:25:42 UTC
Listener OnMessage but message remains in the queue
implemented a message listener, can get the message in the onMessage method.
but the messages are not removed from the queue.
How can i purge or remove messages once they have been received via the
onMessage method?
TIA
--
View this message in context: http://www.nabble.com/Listener-OnMessage-but-message-remains-in-the-queue-tf2041797.html#a5620625
Sent from the ActiveMQ - User forum at Nabble.com.
Re: Listener OnMessage but message remains in the queue
Posted by rcml <rm...@yahoo.com>.
my bad, either create session without transaction, or commit.
--
View this message in context: http://www.nabble.com/Listener-OnMessage-but-message-remains-in-the-queue-tf2041797.html#a5621160
Sent from the ActiveMQ - User forum at Nabble.com.