Re: Add network connector dynamically over JMX

2013-10-25 Thread Bratislav Stojanovic
Awesome, thank you Chris! On Thu, Oct 24, 2013 at 7:41 PM, Christian Posta christian.po...@gmail.comwrote: I've opened the issue here: https://issues.apache.org/jira/browse/AMQ-4823and fixed it on origin/trunk. On Thu, Oct 24, 2013 at 9:30 AM, Christian Posta

Add network connector dynamically over JMX

2013-10-24 Thread Bratislav Stojanovic
Hi all, Does anybody know how to do this? Here's the code I've tried, but it doesn't work : JMXServiceURL url = new JMXServiceURL(service:jmx:rmi:///jndi/rmi://localhost:1099/karaf-root); Map env = new HashMap(); String[] creds = {..., ...}; env.put(JMXConnector.CREDENTIALS, creds);

Re: Add network connector dynamically over JMX

2013-10-24 Thread Christian Posta
Yah, seems like the mbeans aren't registered properly when creating through JMX. The bridge does get created, but it's not visible in jconsole. Can you create a JIRA for this? On Thu, Oct 24, 2013 at 4:11 AM, Bratislav Stojanovic bratislav1...@gmail.com wrote: Hi all, Does anybody know

Re: Add network connector dynamically over JMX

2013-10-24 Thread Christian Posta
I've opened the issue here: https://issues.apache.org/jira/browse/AMQ-4823 and fixed it on origin/trunk. On Thu, Oct 24, 2013 at 9:30 AM, Christian Posta christian.po...@gmail.comwrote: Yah, seems like the mbeans aren't registered properly when creating through JMX. The bridge does get