in modules/core/src/main/java/org/apache/savan/subscription/SubscriptionProcessor.java [34:46]
public void unsubscribe(SavanMessageContext endSubscriptionMessage) throws SavanException {
String subscriberID = getSubscriberID(endSubscriptionMessage);
if (subscriberID == null) {
String message = "Cannot find the subscriber ID";
throw new SavanException(message);
}
SubscriberStore store = endSubscriptionMessage.getSubscriberStore();
if (store == null)
throw new SavanException("AbstractSubscriber store not found");
store.delete(subscriberID);
}