I've been trying to get request reply working in 2.8 over JMS. I am confused
as to the following behavior:

- If I dont set a replyTo queue, requestBody() times out and I never get a
response

- If I set a replyTo queue, I get messages once per second. (I thought this
was fixed in 2.8 ?), I can improve that by setting receiveTimeout=xxx.

- If I set a replyTo queue and mark it as exclusive I get decent
performance, but was hoping for better on temporary queues.

I'd like to get temporary queues working. Is there any other requirement
other than setting exchangePattern=InOut on the Uri ? My code is very
simple:

// DOESNT WORK String uri = String.format("%s?exchangePattern=InOut",
requestQueue);

String uri =
String.format("%s?exchangePattern=InOut&replyTo=%s&replyToType=Exclusive",
requestQueue, replyQueue);

String result = (String)template.requestBody(uri, data);

I'm using ActievMQ 5.5.1 on Windows 7 64 bit.

Thank you




--
View this message in context: 
http://camel.465427.n5.nabble.com/JMS-Request-Reply-not-working-with-temporary-queues-in-2-8-tp5723771.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to