public String getConsumerEPR() {

    String ret = null;

    if (null != xs) {

      String[] eprs = xs.getConsumerServiceEPRs();
      if (eprs.length > 0) ret = eprs[0];
    }
    return ret;
  }
 public void destroy() throws RemoteException {
   if (this.xs != null) {
     xs.stop();
     WseMsgBrokerClient client = new WseMsgBrokerClient();
     client.init(this.brokerURL);
     try {
       client.unSubscribe(this.subscriptionID);
     } catch (MsgBrokerClientException e) {
       logger.error(
           "axisFault occured on unsubscribing subscription ID :" + this.subscriptionID, e);
       e.printStackTrace();
     }
   } else if (this.messageBoxNotificationHandler != null) {
     this.messageBoxNotificationHandler.destroy(messageBoxEPR);
   }
 }