You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by milltj <mi...@drop-tank.com> on 2013/08/23 00:42:06 UTC
disconnectOnNoReply not working...
Pontus:
You are correct. I realized it was incorrect it should be...
<camel:camelContext xmlns="http://camel.apache.org/schema/spring">
<camel:route>
<camel:from uri="mina2:tcp://
10.5.60.60:9000?disconnectOnNoReply=false<b>&*codec=#gilbarcoDecoder"
/>
<camel:bean ref="testBean"/>
</camel:route>
</camel:camelContext>
That corrects the datalength error, but unfortunately it is still
disconnecting when a response is not sent back to the client.
--
View this message in context: http://camel.465427.n5.nabble.com/Mina-Synchronous-Communication-tp5737223p5737792.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: disconnectOnNoReply not working...
Posted by "itsavvy.ankur" <ia...@gmail.com>.
milltj wrote
> Pontus:
>
> You are correct. I realized it was incorrect it should be...
>
>
> <camel:camelContext xmlns="http://camel.apache.org/schema/spring">
>
>
> <camel:route>
>
>
> <camel:from uri="mina2:tcp://
> 10.5.60.60:9000?disconnectOnNoReply=false&codec=#gilbarcoDecoder"
> />
>
>
> <camel:bean ref="testBean"/>
>
>
> </camel:route>
>
>
> </camel:camelContext>
> That corrects the datalength error, but unfortunately it is still
> disconnecting when a response is not sent back to the client.
Hi, did you manage to get around your problem of the disconnecting when no
response is sent ? I think I have run into a similar issue where some
messages(requests) in my protocol do not have a response back. More info
here
<http://camel.465427.n5.nabble.com/Apache-Camel-Mina2-ExchangePattern-td5765184.html>
--
View this message in context: http://camel.465427.n5.nabble.com/Mina-Synchronous-Communication-tp5737223p5765257.html
Sent from the Camel - Users mailing list archive at Nabble.com.