activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From turkuaz07 <>
Subject Stop sending messages to broker
Date Wed, 18 Sep 2013 08:12:15 GMT

In my scenario I have one boroker, one producer, one consumer.I am using
activemq for writing my app. logs to db.As u know writing logs to db is time
taking process.That's why consumer is more and more slow than producer.For
ex. I send 100.000 message(huge objects).Producer finishes sending messages
in 20 mins.But When the producer finished, consumer has finished 4.000
message processing yet.

My question is ; is there any way to say procuder "wait if there are x
messages in the broker waiting for consuming and try to send after a while"

how can solve this problem.

View this message in context:
Sent from the ActiveMQ - Dev mailing list archive at

View raw message