Re: JMX and NetworkBridge

2012-07-10 Thread Gary Tully
static:(failover:(tcp://edi:61616))" /> > > > > > From: billy [via ActiveMQ] [mailto:ml-node+s2283324n4653842...@n4.nabble.com] > Sent: Tuesday, July 10, 2012 3:13 PM > To: Billy Buzzard > Subject: Re: JMX and NetworkBridge > > Gary I'm sorry I have to ask this silly questio

RE: JMX and NetworkBridge

2012-07-10 Thread billy
It might help if I show you a piece of my active.xml file that sets up the NetworkBridges. From: billy [via ActiveMQ] [mailto:ml-node+s2283324n4653842...@n4.nabble.com] Sent: Tuesday, July 10, 2012 3:13 PM To: Billy Buzzard Subject: Re: JMX and

Re: JMX and NetworkBridge

2012-07-10 Thread billy
Gary I'm sorry I have to ask this silly questions but when I stop the NetworkConnector via the NetworkConnectorViewMBean what *auto-restarts* the NetworkConnector? Perhaps I missed something in the configuration and that's my problem. Or, maybe the auto-restart does work and it's not updating the

Re: JMX and NetworkBridge

2012-06-20 Thread Gary Tully
> method – does that make sense? > > > From: gtully [via ActiveMQ] [mailto:ml-node+s2283324n4653393...@n4.nabble.com] > Sent: Wednesday, June 20, 2012 9:05 AM > To: Billy Buzzard > Subject: Re: JMX and NetworkBridge > > with a partially failed duplex bridge, to get it r

RE: JMX and NetworkBridge

2012-06-20 Thread billy
NetworkConnectorViewMBean via a program that I write then the bean would be persisted long enough were I could call the start method – does that make sense? From: gtully [via ActiveMQ] [mailto:ml-node+s2283324n4653393...@n4.nabble.com] Sent: Wednesday, June 20, 2012 9:05 AM To: Billy Buzzard Subject: Re: JMX

Re: JMX and NetworkBridge

2012-06-20 Thread Gary Tully
with a partially failed duplex bridge, to get it recreated, you need to restart the network connector, so that the initiator again starts to create the duplex bridge. It is not possible to just start the duplex responder end as all of the info it needs from the initiator needs to be resent. Maybe

Re: JMX and NetworkBridge

2012-06-20 Thread billy
Thanks for the information, but sorry to hear that the possibilities are limited at this time. The actual problem I was trying to solve has to do with a partially failed duplex network bridge. The non-creating side of a duplex network bridge is dropping for some unknown reason while the creating

Re: JMX and NetworkBridge

2012-06-20 Thread Gary Tully
To answer your original question, the NetworkConnectorViewMBean will allow stop/start W.r.t to dynamically creating them via jmx, the config options are very limited at the moment, it is mostly that getters that are exposed via jmx On 20 June 2012 14:11, billy wrote: > Using JConsole, I found th

Re: JMX and NetworkBridge

2012-06-20 Thread billy
Using JConsole, I found the org.apache.activemq.Broker object and it has the Operator "addNetworkConnector that takes a string representing the discoveryAddress. I enter "static:(tcp://dwh:61816)" for my discoveryAddress and a new networkConnector is created with a fixed name of "localhost". 1.