private void consumeSubscriptionRequest(String endpointId, EventSubscription eventSubscription) { remoteSubscriptionStorage.addSubscription( eventSubscription.getMethod(), new RemoteSubscriptionContext(endpointId, eventSubscription.getScope())); }
private void consumeSubscriptionRequest(String endpointId, EventSubscription eventSubscription) { remoteSubscriptionStorage.addSubscription( eventSubscription.getMethod(), new RemoteSubscriptionContext(endpointId, eventSubscription.getScope())); }