*/
public Subscription createSubscription() throws Exception {
WseMsgBrokerClient wseClient = new WseMsgBrokerClient();
wseClient.init(brokerLoc);
logger.debug("Starting Subscription for topic [" + topic + "]at the broker location:" + brokerLoc);
ConsumerServer xs = new ConsumerServer(consumerServerPort, this);
xs.start();
String subscriptionId = wseClient.subscribe(xs.getConsumerServiceEPRs()[0], topic, null);
logger.debug("The consumer server started on EPR" + xs.getConsumerServiceEPRs()[0]);
Subscription subscription = new Subscription(xs, subscriptionId, topic, callback, brokerLoc);
return subscription;
}