In this case you should not set the message exchange pattern to be
InOut,
You can use queueA for request message and use queueB for response
message.
The correlation id will help you to map the response with request.
On Fri Dec 16 02:06:38 2011, ricardofaccioli wrote:
Hello everyone.
I building my first Camel Application
And I have a problem....
I`m using ActiveMQ and JAVA DSL.
I have a Producer and them this send various type of message and I expected
receive always a response not problem.
But I have one type of message. And sometimes her take so long to finish.
I want to send a reply in the sometime i receive the message, and not,
before the message has processed.
I think need something async but don`t work.
Someone could help me
Thks... And sorry for my poor english.
--
View this message in context:
http://camel.465427.n5.nabble.com/Asyncronous-Problem-tp5078322p5078322.html
Sent from the Camel - Users mailing list archive at Nabble.com.
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang