public void testConnectRemoteBrokerFacade() throws Exception {
String jmxUri = getJmxUri();
System.setProperty("webconsole.jmx.url", jmxUri);
RemoteJMXBrokerFacade brokerFacade = new RemoteJMXBrokerFacade();
SystemPropertiesConfiguration configuration = new SystemPropertiesConfiguration();
brokerFacade.setConfiguration(configuration);
ObjectName query = new ObjectName("org.apache.activemq:type=Broker,brokerName=remoteBroker");
Set<ObjectName> queryResult = brokerFacade.queryNames(query, null);