java - How to stop ActiveMQ 's 'Queue' to stop receiving messages -
is possible stop specific queue of activemq after has consumed 100 messages 5sec , after 5sec again restart , start receiving messages ?
activemq has flow control on memory constraints.
try using router software that, such apache camel throttler
i'm not sure can ask out of box similar things. or can add want logic. note camel bundled in activemq distributions.
then setup 1 "from" queue application writes messages , route though activemq 1 "to" queue consumer reads messages.
Comments
Post a Comment