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

Domenico Francesco Bruscino commented on ARTEMIS-3535:
------------------------------------------------------

I'm not able to reproduce this issue executing the following steps:
1) create a broker instance `./bin/artemis create broker --user admin 
--password admin --require-login`
2) set management-message-attribute-size-limit to -1 `sed -i 
's/<address-setting\ match="#">/<address-setting\ 
match="#"><management-message-attribute-size-limit>-1<\/management-message-attribute-size-limit>/g'
 ./broker/etc/broker.xml`
3) run the broker instance `./broker/bin/artemis run`
4) send a text message with 2000 characters `./broker/bin/artemis producer 
--destination queue://TEST.QUEUE --user admin --password admin --protocol core 
--message-count 1 --text-size 2000`

> management-message-attribute-size-limit = -1 does not unlimit
> -------------------------------------------------------------
>
>                 Key: ARTEMIS-3535
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3535
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Web Console
>         Environment: A' Artems 2.19.0
>            Reporter: arne anka
>            Priority: Major
>
> With the new option messages are truncated.
> [https://activemq.apache.org/components/artemis/documentation/latest/versions.html]
> states for 2.18.0 that this may be overriden by using
> -1
> as value. But that doesn't work.
> {{broker.xml}}
> {code:xml}
> <address-setting match="#">
> ...
>    
> <management-message-attribute-size-limit>-1</management-message-attribute-size-limit>
> </address-setting>
> {code}
> Text shown is empty.
> Changing -1 to eg 1024 text appears partially.
> Seems -1 does not work as expected.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to