You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (JIRA)" <ji...@apache.org> on 2018/06/01 17:27:00 UTC

[jira] [Assigned] (ARTEMIS-1892) Allow whitespace in

     [ https://issues.apache.org/jira/browse/ARTEMIS-1892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Bertram reassigned ARTEMIS-1892:
---------------------------------------

    Assignee: Justin Bertram

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