camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harald Wellmann <hwellmann...@gmail.com>
Subject SJMS and InOut
Date Sat, 09 Feb 2013 15:05:49 GMT
I'm rather confused by the different flavours of InOut.

What's the difference between

1) from("direct:calculatorProxy")
       .inOut("sjms:calculator-queue");

and

2) from("direct:calculatorProxy")
       .to("sjms:calculator-queue?exchangePattern=InOut");

inOut() in 1) does not seem to make any difference from to() at all.

Best regards,
Harald


Mime
View raw message