Quantcast

[activemq-user] Remove message in a queue

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[activemq-user] Remove message in a queue

COURTAULT Francois
Hello,

Does it exist a way to remove a message in a queue other than having to
consume it by a MessageConsumer ?

Regards.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [activemq-user] Remove message in a queue

Ramzi Saba
If you use a JDBC persistence store, there is currently (3.1-M2) a
thread that runs every 5 minutes and removes expired messages.  This is
of course assuming that you set a TTL on the MessageConsumer, otherwise
the message will never expire/get deleted.

COURTAULT Francois wrote:

>Hello,
>
>Does it exist a way to remove a message in a queue other than having to
>consume it by a MessageConsumer ?
>
>Regards.
>
>  
>

--
Ramzi Saba
Optaros, Inc - www.optaros.com


Loading...