camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dusausoy <>
Subject Request reply
Date Thu, 04 Nov 2010 10:23:46 GMT

I'm tinkering with request-reply messaging over JMS, with help from 
"Camel in Action" book (chapter 7, jms).
If I use


as endpoint, it works well, I get my response back.

But if I try with inOut() like this :


I get nothing at first, but when the camel context tries to shut 
itself down, I get :
4 nov. 2010 11:20:51 
org.apache.camel.impl.DefaultShutdownStrategy$ShutdownTask run
INFO: Waiting as there are still 2 inflight and pending exchanges to 
complete before we can shutdown

So my question is : "is there a difference between setting the 
exchangePattern option and using the inOut() method ?"

Bruno Dusausoy
YP5 Software

Pensez environnement : limitez l'impression de ce mail.
Please don't print this e-mail unless you really need to.

View raw message