String brokerEpr = "http://localhost:" + TestUtilServer.TESTING_PORT + "/axis2/services/EventingService";
WseMsgBrokerClient topicOnlyReceiverApi = new WseMsgBrokerClient();
topicOnlyReceiverApi.init(brokerEpr);
NotificationReciever topicOnlyMsgReceiver = new NotificationReciever("Topic Only");
String[] topicConsumerEPRs = topicOnlyReceiverApi.startConsumerService(consumerPort, topicOnlyMsgReceiver);
assertTrue("invalid consumer eprs returned", topicConsumerEPRs.length > 0);
String topicOnlySubId = topicOnlyReceiverApi.subscribe(topicConsumerEPRs[0], topic, null);
System.out.println("Topic only subscription ID: " + topicOnlySubId);
WseMsgBrokerClient xpathAndTopicReceiverApi = new WseMsgBrokerClient();