You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by kpdude7 <kp...@gmail.com> on 2017/05/19 19:17:28 UTC
JMX url in master/slave mode
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.
Re: JMX url in master/slave mode
Posted by Steve Hill <sh...@futurelogix.co.uk>.
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 <kp...@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.