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

Reply via email to