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
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
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
old.nabble.com/requestBodyAndHeader-and-HEADER_CLOSE_SESSION_WHEN_COMPLETE-tp27175565p27289240.html
Sent from the Camel - Users mailing list archive at Nabble.com.
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
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.
; .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.
&
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.
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
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
10 matches
Mail list logo