[
https://issues.apache.org/jira/browse/AMQ-3724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209935#comment-13209935
]
Timothy Bish commented on AMQ-3724:
-----------------------------------
Because the brokers are all running inside the same JVM you need to call
setCreateConnector(false) for brokers B and C so that they don't stop the
management context and restart it. Otherwise they clobber the names in the
MBeanServer.
{noformat}
getBroker(BROKER_B_NAME).getManagementContext().setCreateConnector(false);
{noformat}
> Dynamic Failover Blocks NetworkConnector & Queue MBean Creation
> ---------------------------------------------------------------
>
> Key: AMQ-3724
> URL: https://issues.apache.org/jira/browse/AMQ-3724
> Project: ActiveMQ
> Issue Type: Bug
> Reporter: Scott England-Sullivan
> Fix For: 5.6.0
>
> Attachments: AMQ-3724.patch, visual-vm-mbean-screenshot.jpg
>
>
> When enabling dynamic failover on the transport connectors some or all
> brokers in the cluster do not have their NetworkConnector or Queue mBeans
> enabled. See attached patch.
> Thanks,
> Scott ES
> http://fusesource.com
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira