String repoLocation = "/home/hemapani/playground/events/wso2carbon-3.2.0-SNAPSHOT/repository";
String confFile = repoLocation + "/conf/axis2_client.xml";
SimpleMessageReceiver messageReceiver = new SimpleMessageReceiver(repoLocation, confFile,null);
messageReceiver.start();
BrokerClient brokerClient = new BrokerClient("http://127.0.0.1:9763/services/EventBrokerService");
//brokerClient.subscribe(topic, messageReceiver.getListenerUrl());
brokerClient.subscribe(topic, "http://parakum:6666/axis2/services/MessageCollector/receive/");