Hi All,
My requirement is to start/create a new broker with custom settings which
are specified in the broker.xml file. These settings include things like,
1. Specifying/adding new queues and topics.
2. Specifying custom broadcast settings like jgroups settings
<broadcast-groups>
<broadcast-group name="bg-group1">
<broadcast-period>5000</broadcast-period>
* <jgroups-file>test-jgroups_ping.xml</jgroups-file>
<jgroups-channel>active_broadcast_channel</jgroups-channel>*
<connector-ref>artemis</connector-ref>
</broadcast-group>
</broadcast-groups>
3. Specifying address settings like,
<redistribution-delay>0</redistribution-delay>
I saw some threads like
https://stackoverflow.com/questions/71149959/how-to-provide-a-custom-broker-xml-to-activemq-artemis-broker-instance
But answer provided doesn't run.
Any clues, how this can be achieved? Any command line flags that can be
used to achieve the same, for example I found this,
./artemis create test-broker-01 \
--http-host $HOSTNAME \
--host $HOSTNAME \
--aio \
--clustered \
--cluster-user administrator \
--cluster-password TestPassw0rd \
--name live-broker-01 \
--max-hops 1 \
--user administrator \
--password TestPassw0rd \
--require-login \
--port-offset 0 \
--no-autocreate \
--data /usr/shared/artemis-data/$HOSTNAME \
--shared-store \
--failover-on-shutdown
Regards,
Prateek Jain
--------------------------------------------------------------
EXPECTATION : Causes all troubles......
--------------------------------------------------------------