activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shaun Appleton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-859) Enable BACKLOG_PROP_NAME
Date Mon, 21 Nov 2016 12:46:59 GMT

    [ https://issues.apache.org/jira/browse/ARTEMIS-859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15683497#comment-15683497
] 

Shaun Appleton commented on ARTEMIS-859:
----------------------------------------

PR: at https://github.com/apache/activemq-artemis/pull/893

> 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)

Mime
View raw message