activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From colin_lee <ney...@nhn.com>
Subject How to delete message in queue?
Date Wed, 10 Apr 2013 10:06:00 GMT
Hello all,

when i used ActiveMQ, i met a problem, how to delete message according the
property what i set?


currently, i didn't find method to do it. so i used transaction to do it. i
will loop my messages in queue, if property does not equal with what i
wanted, i commit that session. so the message will be removed from queue to
dequeue. if property does not equal with what i wanted, i will rollback
transaction. But when i do this kind of operations for multiple times,
message also will be removed from queue whatever i rollback or not.


anybody knows what's the reason? do you know how to delete message accordind
to the property??? or others  



--
View this message in context: http://activemq.2283324.n4.nabble.com/How-to-delete-message-in-queue-tp4665801.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Mime
View raw message