Netty + TCP connection closing out after few minutes in JBoss Fuse

Solution Unverified - Updated -


  • This is a simple TCP connection using Netty, sending a String message (see below), and receiving a String message back. We are able to run a as many tests as neeeded if we do the tests in without a break of more than two minutes between the tests. If we come back after a few mintues to run the tests, the connection gets closed.

  • We had Wireshark trace to see the issue, and Wireshark shows a connection to the client without any initialization from Fuse and I guess that closes the connection.

Server : port =
Message = "060152696TESTING                   HQONE                                             060-15-26961985/04/13"

<bean id="string-encoder" class="org.jboss.netty.handler.codec.string.StringEncoder"></bean>
<to uri="netty:tcp://<host>:<port>?encoders=#string-encoder&sync=true&disconnectOnNoReply=true" />


  • Red Hat JBoss Fuse
    • 6.x
  • camel-netty component

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content