activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <>
Subject Re: Rate limiting message uploads to a broker
Date Wed, 22 Jun 2011 11:20:30 GMT

you can consider using smaller prefetch size (1 or so) which will make local
broker send one message at the time. This could slow down the NC and thus
help with your bandwidth.

Dejan Bosanac -
The experts in open source integration and messaging -
ActiveMQ in Action -
Blog -

On Tue, Jun 21, 2011 at 12:20 PM, nw <> wrote:

> 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:
> Sent from the ActiveMQ - User mailing list archive at

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