This content has been marked as final.
Show 3 replies
-
1. Re: How to remove message's from a vm endpoint ?
davsclaus Feb 27, 2012 6:48 AM (in response to sanre6)There is a purgeQueue() method on vm and seda endpoint.
This requires Camel 2.9 onwards
-
2. Re: How to remove message's from a vm endpoint ?
sanre6 Feb 28, 2012 6:46 AM (in response to davsclaus)Thanks for the super fast reply claus , purgeQueue() solved my problem perfectly . But why does stopping/starting an endpoint do the same ? according to docs , if we do a stop and a start it should reset the state of the endpoint right ?
-
3. Re: How to remove message's from a vm endpoint ?
davsclaus Feb 28, 2012 7:22 AM (in response to sanre6)No the queues on the seda/vm components may be used by other endpoints, so you cannot safely clear them when stopping an endpoint.