@Service
@ConditionalOnBean(value={MessageSenderEndpoint.class,SnapshotProvider.class})
public class SubscriptionService
extends java.lang.Object
| Constructor and Description |
|---|
SubscriptionService(MessageInterceptorRegistry registry,
java.util.List<MessageSenderEndpointFactory> senderEndpointFactories,
java.util.List<SnapshotProvider> snapshotProviders) |
| Modifier and Type | Method and Description |
|---|---|
Subscriptions |
getSubscriptions() |
void |
onSubscriptionCreated(SubscriptionCreated subscriptionCreated,
java.lang.Class<? extends Selector> sourceChannelSelector) |
void |
onSubscriptionDeleted(java.lang.String subscriptionId) |
void |
onSubscriptionUpdated(SubscriptionUpdated event) |
public SubscriptionService(MessageInterceptorRegistry registry, java.util.List<MessageSenderEndpointFactory> senderEndpointFactories, java.util.List<SnapshotProvider> snapshotProviders)
public void onSubscriptionCreated(SubscriptionCreated subscriptionCreated, java.lang.Class<? extends Selector> sourceChannelSelector)
public void onSubscriptionUpdated(SubscriptionUpdated event)
public void onSubscriptionDeleted(java.lang.String subscriptionId)
public Subscriptions getSubscriptions()