camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew McMahon (Created) (JIRA)" <>
Subject [jira] [Created] (CAMEL-4556) NettyProducer creating new connection on every message
Date Tue, 18 Oct 2011 00:50:10 GMT
NettyProducer creating new connection on every message

                 Key: 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

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message