You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Gary Tully (Jira)" <ji...@apache.org> on 2022/05/16 09:01:00 UTC
[jira] [Commented] (ARTEMIS-3832) artemis create - Add option to configure address-full-policy
[ https://issues.apache.org/jira/browse/ARTEMIS-3832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17537406#comment-17537406 ]
Gary Tully commented on ARTEMIS-3832:
-------------------------------------
Hi Claus,
I have been slowly adding support for configuration via properties files, see: https://issues.apache.org/jira/browse/ARTEMIS-3627
something like:
bin/artemis run --properties /home/gtully/code/broker.properties
where broker.properties has:
maxDiskUsage=2.5g
The broker.properties can also be resolved via a system property -Dbroker.properties=file url or path
the xml in artemis is parsed mostly into a single java bean ConfigurationImpl that is used to initialise the server, most of the broker can be configured in this way, and it works nicely for any simple attribute today.
> artemis create - Add option to configure address-full-policy
> ------------------------------------------------------------
>
> Key: ARTEMIS-3832
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3832
> Project: ActiveMQ Artemis
> Issue Type: New Feature
> Components: Broker
> Affects Versions: 2.22.0
> Reporter: Claus Ibsen
> Priority: Major
>
> When trying out Artemis such as via a docker image, then you often run on limited disk space - for example I have 20gb assigned for docker.
> However Artemis may notice that its low on disk, and then go into blocking mode.
> It would be good if you can configure these options when creating the broker, especially as you use a docker file to create the image (no official release in docker hub etc).
> Then you can set these options via EXTRA_ARGS in the dockerfile.
> BTW: its the max-disk-usage that triggered my artemis to go into blocking mode, because it had detected that there was only 3gb disk left. However when you use Artemis for demos/examples/development, then IMHO it would be great if Artemis could be easily configured for such use-cases.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)