camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashwin Karpe <>
Subject Re: Router Blocked by full Destination Route Queue
Date Sat, 11 Apr 2009 12:37:21 GMT


In case you are averse to changing your Camel route, you can set up a
virtual queue to where all your JMS producers send their messages. The
virtual queue could send messages to several real queues at the back. 

The JMS Consumers could then feed of these real queues when they come up.

This will require a rule to be added to the ActiveMQ Broker via the
activemq.xml file. Check this out... 



yesnid wrote:
> Hello All,
> My router is becoming blocked by sending messages to a queue on which no
> one is taking messages from the queue, when the queue becomes full, the
> router is blocked waiting for more space in the queue to become free, any
> ideas about how I could get around this? In my application it is possible
> that applications listening to queues may come up and down for a
> shortwhile so I can't just simply purge a queue when there are no
> consumers. Also If I wait for the queue to become completely full before
> taking action it causes a sort of cascade effect causing others to rapidly
> fill up as well.
> Thank you for the input, in advance.

Ashwin Karpe, Principal Consultant, PS - Opensource Center of Competence 
Progress Software Corporation
14 Oak Park Drive
Bedford, MA 01730
+1-972-304-9084 (Office) 
+1-972-971-1700 (Mobile) 

View this message in context:
Sent from the Camel - Users (activemq) mailing list archive at

View raw message