Not with Camel. ActiveMQ (and other MOM's) have a purge operation what is what you need. Write a bean, inject the JmsConnectionFactory, get a Connection, Session, Destination and purge it.
Sent from a mobile device Am 19.12.2012 17:28 schrieb "Sri" <[email protected]>: > Hello, > > > I wanted to clear all the messages from the queue with a rest call. is > there > any quick way of doing this. > > Regards > Sri > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Wante-to-clear-the-messages-in-queue-tp5724381.html > Sent from the Camel - Users mailing list archive at Nabble.com. >
