camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "S.R." <>
Subject Camel Router is blocked when waiting for response
Date Tue, 08 Jul 2008 11:03:34 GMT

For example, I have the following route:

// main route

// and test consumer for "jms:someOtherQueue"
from("jms:someOtherQueue").process(new Processor() {
       public void process(Exchange exchange) throws Exception {       

It's easy to see that when we send request message (with JMSReplyTo field
set) to the jms:testQueue, the Camel Router is blocked until reply from
jms:someOtherQueue consumer is received, therefore new incoming messages
can't be processed/routed during this time.

Does Camel have some abilities or configuration settings to avoid this, and
make this waiting asynchronous, so that other messages could be processed
even if some of the previous messages hasn't been completely
processed/routed yet?

Thank you,
View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message