activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Hill <sh...@futurelogix.co.uk>
Subject Re: JMX url in master/slave mode
Date Sat, 20 May 2017 03:44:07 GMT
I would recommend using a load balancer. You would put both up addresses in the load balancer.

Thanks

Sent from my iPhone

> On May 19, 2017, at 3:17 PM, kpdude7 <kpdude7@gmail.com> wrote:
> 
> How would someone programmatically access the correct JMX server in this
> master/slave configuration? For example, I have the JMX url:
> 
> service:jmx:rmi:///jndi/rmi://${jmxTransferUrl}/jmxrmi
> 
> My JMS is using a failover url:
> failover:(ssl://10.91.5.190:61616,ssl://10.91.5.115:61616)
> 
> What value should be substituted for ${jmxTransferUrl} above? Do I have to
> try each IP in the failover url manually and catch an exception before
> trying the next one? Is there another way to do this?
> 
> Thanks,
> Kyle
> 
> 
> 
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/JMX-url-in-master-slave-mode-tp4726404.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message