activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Bertram (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ARTEMIS-1892) Allow whitespace in <acceptor>
Date Mon, 04 Jun 2018 14:43:00 GMT

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

Justin Bertram resolved ARTEMIS-1892.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.7.0

> 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
>             Fix For: 2.7.0
>
>
> 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)

Mime
View raw message