Hi All,

I am using netty to send a msg to a remote socket, and process the
response.

Consider the route below:

    1.  <camel:from uri="direct:msg_in_queue"/>
    2. <log message="input message received"/>
    3. <to
uri="xslt:xslts/msg-transform.xsl"/>

    4. <!-- Send to remote socket -->
    5. <to uri="netty:tcp://
192.168.1.1:5511?textline=true&amp;sync=true&amp;keepAlive=false"/>

    6. <to uri="log:response from netty
?showHeaders=false"/>
    7. <to uri="xslt:xslts/msg-transform-back.xsl"/>

I receive a webservice request in XML format, and I pass it to *msg_in_queue
* endpoint. From, there it gets transformed and sent to *netty* component.
The response from netty is logged correctly in step 6. and it gets
transformed in #7, but the message is not getting propagated back to
webservice caller.

If I comment out step 5, then the messages is getting propagated back and
the caller sees the response, though it is not the messages which is
expected because step #5 is commented out.

The point is why netty component is causing this behavior.

I am using camel. 2.9.1

Thanks

Reply via email to