[
https://issues.apache.org/jira/browse/ARTEMIS-1892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16500303#comment-16500303
]
ASF GitHub Bot commented on ARTEMIS-1892:
-----------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/activemq-artemis/pull/2120
> 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
> Assignee: Justin Bertram
> Priority: Minor
>
> 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)