activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Gies <ag...@progress.com>
Subject Re: Draining messages from a queue
Date Wed, 08 Apr 2009 10:41:06 GMT
Hi there,

you can use the purge() method either via the API or via JMX.

HTH
Andreas

On Apr 8, 2009, at 9:12 AM, venkateshwr wrote:

>
> Hi
>
> Is there a way to drain messages from a queue programmatically. For
> instance, when I use a java queue (LinkedBlockingQueue), I can drain  
> all
> messages from the queue at that instant. Is there something  
> available in
> ActiveMQ?
>
> Thanks
> WRV
> -- 
> View this message in context: http://www.nabble.com/Draining-messages-from-a-queue-tp22944607p22944607.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

---
Mit freundlichen Grüssen - Kind Regards
Andreas Gies
Principal Consultant
Open Source Center of Competence

Progress Software GmbH
Agrippinawerft 26
50678 Köln

E-Mail      	agies@progress.com
Direct Line 	+49 (0)9953 980349
Mobile      	+49 (0)170 5759611
Skype        	+44 (0)20 3239 2922
Skype       	+353 (0)1 443 4971
Skype       	+1 (0)781 262 0168

http://www.progress.com
http://fusesource.com
http://open-source-adventures.blogspot.com



-------------------------------------------------------
Progress Software GmbH
Sitz der Gesellschaft: Agrippinawerft 26, 50678 Koeln;
Niederlassung: Fuerstenrieder Str. 279, 81377 Muenchen
Amtsgericht Koeln, HRB 15620; 
Geschaeftsfuehrung: David Ireland
-------------------------------------------------------

Mime
View raw message