You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by SuoNayi <su...@163.com> on 2013/05/02 03:28:34 UTC

Re:Slow consumer(s) impact on Topic

Your solution seems like Virtual Topic and you may take a look at 

http://activemq.apache.org/virtual-destinations.html
With Virtual Topic you do not need move events from the topic to the subscription queues manually.


At 2013-05-01 00:38:40,deepak_a <an...@gmail.com> wrote:
>All,
>
>For a Topic with multiple consumers,  if one of the client is slow, it slows
>down other subscribers.
>The recommended approach is given here
>http://activemq.apache.org/slow-consumer-handling.html
>
>-> approach recommended is "discarding old messages"
>
>But I don't want to discard old messages either but still want consumers
>running independently.
>
>http://stackoverflow.com/questions/15445941/activemq-random-slow-subscribers-causing-topic-to-full-solution
>
>One approach is shown in the above link.
>
>"keeping queues for each subscriber and now Given a Topic - pool of threads
>will remove events from Topic and copy the events to my queue"
>
>In my case it will be a Camel route that consumes from the Topic and
>publishes to a Queue (to which the Consumer pulls messages out)
>
>Does any one have suggestions on this? Does this look correct from a design
>point of view?
>(using a redundant Queue to overcome consumers impacting each other)
>
>Note: Its implicit that my source system publishes message to Topic.
>
>
>regards
>-D
>
>
>
>--
>View this message in context: http://activemq.2283324.n4.nabble.com/Slow-consumer-s-impact-on-Topic-tp4666473.html
>Sent from the ActiveMQ - User mailing list archive at Nabble.com.