Re: Add multiple network connectors dynamically

2018-05-23 Thread Tim Bain
Great, thanks for sharing the code in case someone else has the same question in the future. Tim On Tue, May 22, 2018, 11:37 PM maorbl wrote: > Just wanted to update that eventually I added the network connectors > not with the proxy (BrokerViewMBean), but with the broker itself > (BrokerServic

Re: Add multiple network connectors dynamically

2018-05-22 Thread maorbl
Just wanted to update that eventually I added the network connectors not with the proxy (BrokerViewMBean), but with the broker itself (BrokerService). This is the code that adds a new network connector (similar to how activemq code handles a new network connector): NetworkConnector networkConne

Re: Add multiple network connectors dynamically

2018-05-14 Thread maorbl
Hi Tim, Thanks a lot for your answer! -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Add multiple network connectors dynamically

2018-05-13 Thread Tim Bain
This appears to be a consequence of the fact that org.apache.activemq.network.NetworkBridgeConfiguration.name is defaulted to "NC" and there's not a simple way to set it to another value when calling org.apache.activemq.broker.jmx.BrokerView.addNetworkConnector(String) nor to rename it after it's c