Shaun Appleton created ARTEMIS-859:
--------------------------------------

             Summary: Enable BACKLOG_PROP_NAME
                 Key: ARTEMIS-859
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-859
             Project: ActiveMQ Artemis
          Issue Type: Bug
    Affects Versions: 1.5.0
            Reporter: Shaun Appleton


org/apache/arctivemq/artemis/core/remoting/impl/netty/TransportConstants.java 
uses a hashmap named allowableAcceptorKeys which does not allow the 
BACKLOG_PROP_NAME to be set, even though it is there.

The change is to add the line
 allowableAcceptorKeys.add(TransportConstants.BACKLOG_PROP_NAME);

Changing the netty acceptors to include backlog is also needed as follows

<acceptors>
<netty-acceptor name="netty" socket-binding="messaging">
<param key="use-nio" value="true"/>
<param key="backlog" value="1028"/>
</netty-acceptor>
<netty-acceptor name="netty-throughput" socket-binding="messaging-throughput">
<param key="batch-delay" value="50"/>
<param key="direct-deliver" value="false"/>
<param key="use-nio" value="true"/>
<param key="backlog" value="1028"/>
</netty-acceptor>
</acceptors>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to