*/
public class ClientProvider implements JMXConnectorProvider {
public JMXConnector newJMXConnector(JMXServiceURL url, Map environment) throws IOException {
// use the remaining url as the ActiveMQ broker URI
String brokerUrl = CamelJmxConnectorSupport.getEndpointUri(url, "activemq");
CamelJmxConnector answer = new CamelJmxConnector(environment, ActiveMQHelper.getDefaultEndpointUri());
// now lets configure the ActiveMQ component
CamelContext camelContext = answer.getCamelContext();
ActiveMQHelper.configureActiveMQComponent(camelContext, brokerUrl);
return answer;
}