Great, appreciate the quick answer.

Thanks

On Tue, Apr 13, 2021 at 10:33 AM Domenico Francesco Bruscino <
bruscin...@gmail.com> wrote:

> Hi Thorsten,
>
> the ha=true parameter isn't required to connect to a cluster of brokers. It
> is required to enable the automatic failover for clients connected to
> brokers configured with High Avalability[1].
>
> [1]
> https://activemq.apache.org/components/artemis/documentation/latest/ha.html
>
> Regards,
> Domenico
>
>
> On Tue, 13 Apr 2021 at 10:15, Thorsten Kunz <thorsten.k...@masergy.com>
> wrote:
>
> > Thanks a mill Domenico!
> > One more question about a related topic: is the ha=true parameter
> required
> > to connect to a cluster? The documentation is a little bit ambiguous
> about
> > when to use ha=true. Is it only required if you connect to a HA broker
> with
> > a backup standby broker or is it also supposed to be used if you connect
> to
> > a cluster with only active brokers?
> >
> > Thanks again
> >
> > On Tue, Apr 13, 2021 at 10:11 AM Domenico Francesco Bruscino <
> > bruscin...@gmail.com> wrote:
> >
> > > Hi Thorsten,
> > >
> > > setting the the `useTopologyForLoadBalancing` parameter to false on the
> > > URL, the ActiveMQ Artemis JMS Client only uses the initial servers
> > > specified in the URL , ie:
> > >
> > >
> >
> `(tcp://server0:61616,tcp://server1:61616)?useTopologyForLoadBalancing=false`
> > >
> > > Regards,
> > > Domenico
> > >
> > > On Tue, 13 Apr 2021 at 09:23, Thorsten Kunz <thorsten.k...@masergy.com
> >
> > > wrote:
> > >
> > > > Hi there,
> > > >
> > > > I was wondering if it is possible to use the Artemis Java Core JMS
> > client
> > > > and connect to a cluster and ignore all topology information.
> > > > So lets say I have a cluster with 5 active nodes but in the
> connection
> > > URL
> > > > I only specify 3 of them. Right now the client discovers the
> remaining
> > 2
> > > as
> > > > well and connects to all 5. But I need the client to only connect to
> > the
> > > 3
> > > > I provided in the connection URL.
> > > >
> > > > Thanks in advance
> > > >
> > > > Thorsten
> > > >
> > >
> >
>
[image: Twitter] <https://twitter.com/masergy>

Reply via email to