Re: requestBodyAndHeader and HEADER_CLOSE_SESSION_WHEN_COMPLETE

2010-01-26 Thread Claus Ibsen
gt; Christopher > -- > View this message in context: > http://old.nabble.com/requestBodyAndHeader-and-HEADER_CLOSE_SESSION_WHEN_COMPLETE-tp27175565p27320438.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of

Re: requestBodyAndHeader and HEADER_CLOSE_SESSION_WHEN_COMPLETE

2010-01-26 Thread huntc
Hi Claus, I have now created a Cookbook recipe explaining this use case. http://cwiki.apache.org/confluence/display/CAMEL/Fine+Grained+Control+Over+a+Channel Kind regards, Christopher -- View this message in context: http://old.nabble.com/requestBodyAndHeader-and

Re: requestBodyAndHeader and HEADER_CLOSE_SESSION_WHEN_COMPLETE

2010-01-25 Thread Claus Ibsen
ed. Its however often we use the higher level API such as ProducerTemplate for those one-liners. > Kind regards, > Christopher > -- > View this message in context: > http://old.nabble.com/requestBodyAndHeader-and-HEADER_CLOSE_SESSION_WHEN_COMPLETE-tp27175565p27289240.html > Sent fr

Re: requestBodyAndHeader and HEADER_CLOSE_SESSION_WHEN_COMPLETE

2010-01-23 Thread huntc
old.nabble.com/requestBodyAndHeader-and-HEADER_CLOSE_SESSION_WHEN_COMPLETE-tp27175565p27289240.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: requestBodyAndHeader and HEADER_CLOSE_SESSION_WHEN_COMPLETE

2010-01-23 Thread Claus Ibsen
h create a ticket in JIRA to allow closing the session after usage, just as we have added to FTP which is called disconnect. > Kind regards, > Christopher > -- > View this message in context: > http://old.nabble.com/requestBodyAndHeader-and-HEADER_CLOSE_SESSION_WHEN_COMPLETE-tp2717

Re: requestBodyAndHeader and HEADER_CLOSE_SESSION_WHEN_COMPLETE

2010-01-22 Thread huntc
header or method indicating that a session should be closed by the producer? Kind regards, Christopher -- View this message in context: http://old.nabble.com/requestBodyAndHeader-and-HEADER_CLOSE_SESSION_WHEN_COMPLETE-tp27175565p27283994.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: requestBodyAndHeader and HEADER_CLOSE_SESSION_WHEN_COMPLETE

2010-01-21 Thread Claus Ibsen
;    .requestBodyAndHeader( >        smsSenderEndpoint, >        requestMessage, >        MinaConsumer.HEADER_CLOSE_SESSION_WHEN_COMPLETE, >        true); > > > The above template instance is called twice in succession as shown by the > "Sending message to" entries. &

Re: requestBodyAndHeader and HEADER_CLOSE_SESSION_WHEN_COMPLETE

2010-01-21 Thread huntc
w this message in context: http://old.nabble.com/requestBodyAndHeader-and-HEADER_CLOSE_SESSION_WHEN_COMPLETE-tp27175565p27255912.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: requestBodyAndHeader and HEADER_CLOSE_SESSION_WHEN_COMPLETE

2010-01-15 Thread Claus Ibsen
n this header every time you want to session closed. > Thanks. > > Kind regards, > Christopher > -- > View this message in context: > http://old.nabble.com/requestBodyAndHeader-and-HEADER_CLOSE_SESSION_WHEN_COMPLETE-tp27175565p27175565.html > Sent from the Camel - Users m

requestBodyAndHeader and HEADER_CLOSE_SESSION_WHEN_COMPLETE

2010-01-15 Thread huntc
a template; particularly if the same template is invoked again to send another message very soon after receiving a reply to the previous one. Thanks. Kind regards, Christopher -- View this message in context: http://old.nabble.com/requestBodyAndHeader-and-HEADER_CLOSE_SESSION_WHEN_COMPLETE-tp2717556