activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: interacting with embedded queue with Spring JMS
Date Thu, 19 Nov 2009 13:04:40 GMT
to use just JMS apis, have a look at the statisticsBrokerPlugin

http://rajdavies.blogspot.com/2009/10/query-statistics-for-apache-activemq.html

2009/11/18 BenAvery <spacebaboon@gmail.com>

>
> 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:
> http://old.nabble.com/interacting-with-embedded-queue-with-Spring-JMS-tp26412755p26412755.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


-- 
http://blog.garytully.com

Open Source Integration
http://fusesource.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message