Package de.otto.synapse.subscription
Class SubscriptionService
java.lang.Object
de.otto.synapse.subscription.SubscriptionService
@Service
@ConditionalOnBean({MessageSenderEndpoint.class,SnapshotProvider.class})
public class SubscriptionService
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionSubscriptionService(MessageInterceptorRegistry registry, List<MessageSenderEndpointFactory> senderEndpointFactories, List<SnapshotProvider> snapshotProviders) -
Method Summary
Modifier and TypeMethodDescriptionvoidonSubscriptionCreated(SubscriptionCreated subscriptionCreated, Class<? extends Selector> sourceChannelSelector) voidonSubscriptionDeleted(String subscriptionId) void
-
Constructor Details
-
SubscriptionService
public SubscriptionService(MessageInterceptorRegistry registry, List<MessageSenderEndpointFactory> senderEndpointFactories, List<SnapshotProvider> snapshotProviders)
-
-
Method Details
-
onSubscriptionCreated
public void onSubscriptionCreated(SubscriptionCreated subscriptionCreated, Class<? extends Selector> sourceChannelSelector) -
onSubscriptionUpdated
-
onSubscriptionDeleted
-
getSubscriptions
-