Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-859

BACKLOG_PROP_NAME is not part of allowable properties on the acceptor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.5.1
    • None
    • None

    Description

      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>

      Attachments

        Issue Links

          Activity

            People

              clebertsuconic Clebert Suconic
              ShaunA Shaun Appleton
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: