The masterslave: URI prefix is syntactic sugar for failover: plus a few
options that new users frequently failed to set.

That makes your question: "What's the difference between static: and
failover:?" The static transport will connect simultaneously to all brokers
in the URI, while the failover transport will connect to only one of them
(typically either because the brokers are all equivalent or because they
represent a master/slave cluster where only one of them will be active at a
time). For more details about the static and failover transports, please
visit their respective pages on the ActiveMQ website.

Tim

On Tue, Jul 9, 2019, 1:56 AM factor <factor....@yandex.ru> wrote:

> I don't understand the difference between static and masterslave transport
> prefix a network of brokers.
>
> In documentation https://activemq.apache.org/networks-of-brokers.html
>
> A common configuration option for a network of brokers is to establish a
> network bridge between a broker and an n+1 broker pair (master/slave).
> Typical configurations involve using the failover: transport, but there are
> a some other non-intuitive options that must be configured for it to work
> as
> desired. For this reason, ActiveMQ v5.6+ has a convenience discovery agent
> that can be specified with the masterslave: transport prefix
>
> So what exactly is the difference between these prefixes, where can I read
> it?
>
>
>
> --
> Sent from:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
>

Reply via email to