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

ASF subversion and git services commented on ARTEMIS-1892:
----------------------------------------------------------

Commit 9183172de348b1e376b46329da8bdcada8ff1bfc in activemq-artemis's branch 
refs/heads/master from [~jbertram]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=9183172 ]

ARTEMIS-1892 allow whitespace in acceptor and connector URIs


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

Reply via email to