activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nw <nick...@gmail.com>
Subject Rate limiting message uploads to a broker
Date Tue, 21 Jun 2011 10:20:31 GMT
Hi, 

I have a store and forward network of brokers (A), with one broker at a
different geographical location (B) which consumers (C) are processing
messages from. Our problem is bandwidth restrictions from A to B.

My question is, is it possible to rate limit messages that are forwarded
from A to B? I looked at BrokerFilter, but that is designed to accept/reject
connections and sadly not individual messages. 

I was thinking of something like having access to the underlying
InputStream, then reading a number of bytes, sleeping for a few millis, etc. 

I don't think ActiveMQ Streams are what we'd like; the splitting of the data
into seperate JMS messages will confuse monitoring systems, and the lack of
ability to replay messages if the consumer fails isn't good. 

Using message blobs would require a shared resource between the consumers C
and the producers that feed A, where none exists in my system. 

Thanks,

Nick

--
View this message in context: http://activemq.2283324.n4.nabble.com/Rate-limiting-message-uploads-to-a-broker-tp3613653p3613653.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message