activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BenAvery <>
Subject interacting with embedded queue with Spring JMS
Date Wed, 18 Nov 2009 18:10:04 GMT

sorry if this is obvious in the documentation, I need to get going on this in
a hurry!

I'm using an embedded ActiveMQ broker in a Java app with Spring JMS, and
need to put a large number of messages on a queue, but throttle the rate, as
other parts of the application need to have their messages served reasonably
quickly, and not wait until all the new job's messages have been consumed.

Is there a way I can request the current queue size from the broker, so I
can tell when it's free, to put a batch of messages on?

thanks for any help.
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message