Re: addNetworkConnector - JMX Error

2011-09-23 Thread sub3
You can't set the connector name because it fails on the first line, before the connector object is returned. I did find an answer (documenting here in case anyone googles this group later). Basically, don't use the addNetworkConnector(String), but instead addNetworkConnector(NetworkConnector). >

Re: addNetworkConnector - JMX Error

2011-09-22 Thread Marcelo Jabali
Have you tried setting the connector's name? e.g. connector.setName("myNetworkConnector"); The tests available at https://issues.apache.org/jira/browse/AMQ-3348 may also give you some hints to get this working. Hope this helps, -Marcelo On Sep 22, 2011, at 1:52 PM, sub3 wrote: > Hi, > > I wa