NettyProducer creating new connection on every message
------------------------------------------------------

                 Key: CAMEL-4556
                 URL: https://issues.apache.org/jira/browse/CAMEL-4556
             Project: Camel
          Issue Type: Bug
          Components: camel-netty
    Affects Versions: 2.8.1
            Reporter: Matthew McMahon
            Priority: Minor


Using a NettyProducer without the disconnect=true configuration is causing the 
route to block after 10 messages on the to("netty://tcp....") call.

It appears that a new socket connection is created for every message, and then 
after 10 connections no new connection is allowed (must be a default thread 
pool limit?).

Using the disconnect=true option fixes the problem as a socket is connected, 
message sent, then disconnected. But this does not seem viable for 
implementations where that overhead is undesirable.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to