Hi Justin,

  Yes, I could have done that but I wanted to know if there are straight
forward ways of doing such things. Just for the sake of other/future users,
I found an approach of achieving this in a project on github

https://deviceinsight.github.io/activemq-artemis-helm


Although, I wont be using it as-it-is but yes, it does answer most of my
questions.

Regards,
Prateek Jain

--------------------------------------------------------------
EXPECTATION : Causes all troubles......
--------------------------------------------------------------


On Mon, Mar 27, 2023 at 3:22 PM Justin Bertram <[email protected]> wrote:

> The "create" command only supports a handful of customizable configuration
> options. It is meant to be a simple tool to perform simple customizations.
>
> For more advanced use-cases you simply need to provide your own broker.xml.
> I recommend you use the "create" command to create a default broker.xml and
> then modify it as needed. Then you can save that and copy it to any
> instance you need. It should be really straightforward.
>
>
> Justin
>
> On Mon, Mar 27, 2023 at 7:02 AM [email protected] <
> [email protected]> wrote:
>
> > 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......
> > --------------------------------------------------------------
> >
>

Reply via email to