Lionel Cons created ARTEMIS-1892:
------------------------------------

             Summary: Allow whitespace in <acceptor>
                 Key: ARTEMIS-1892
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1892
             Project: ActiveMQ Artemis
          Issue Type: New Feature
            Reporter: Lionel Cons


When tuning the acceptors, theĀ {{<acceptor>}} elements can quickly become very 
long and hard to read.

Here is an example from the default configuration:
{code}
  <!-- Acceptor for every supported protocol -->
  <acceptor 
name="artemis">tcp://0.0.0.0:61616?tcpSendBufferSize=1048576;tcpReceiveBufferSize=1048576;protocols=CORE,AMQP,STOMP,HORNETQ,MQTT,OPENWIRE;useEpoll=true;amqpCredits=1000;amqpLowCredits=300</acceptor>
{code}

It would be nice to be able to add whitespace to make the {{broker.xml}} easier 
to read and manage. For instance:
{code}
  <!-- Acceptor for every supported protocol -->
  <acceptor name="artemis">
    tcp://0.0.0.0:61616?
    tcpSendBufferSize=1048576;
    tcpReceiveBufferSize=1048576;
    protocols=CORE,AMQP,STOMP,HORNETQ,MQTT,OPENWIRE;
    useEpoll=true;
    amqpCredits=1000;
    amqpLowCredits=300
  </acceptor>
{code}

It seems that stripping whitespace from theĀ {{<acceptor>}} elements text should 
be enough to make it work...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to