The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

bdusauso (3) [Avatar] Offline
#1
Hi,

I know it's a bit late to report this, I'm sorry I haven't found this before.

When reading section 7.3.2 about request/reply messaging, and especially when looking at the related code provided by the book, I was intrigued by the difference between setting the exchange to InOut by using the "exchangePattern=InOut" option or using the inOut() method instead of to() when creating the route.
So I've tried both.
Long story short, here's what I've discovered :
http://camel.465427.n5.nabble.com/Request-reply-td3249813.html#a3249813
It would be nice if you could explain the difference between these two ways because you use both (the URI option in the book, and the method in your RequestReplyJmsTest class).

Regards.

Message was edited by:
bdusauso
davsclaus (413) [Avatar] Offline
#2
Re: Section 7.3.2 : Request/reply messaging
This is to be discussed on the Camel mailing list.