*/
public class ServerProvider implements JMXConnectorServerProvider {
public JMXConnectorServer newJMXConnectorServer(JMXServiceURL url, Map environment, MBeanServer server) throws IOException {
String brokerUrl = CamelJmxConnectorSupport.getEndpointUri(url, "activemq");
CamelJmxConnectorServer answer = new CamelJmxConnectorServer(url, ActiveMQHelper.getDefaultEndpointUri(), environment, server);
// now lets configure the ActiveMQ component
CamelContext camelContext = answer.getCamelContext();
ActiveMQHelper.configureActiveMQComponent(camelContext, brokerUrl);
return answer;
}