P - The type of payload received.T - Type of concrete manager, needed for fluent methods.public interface ISubscriberManager<P,T extends ISubscriberManager<P,T>>
extends org.symphonyoss.s2.common.fluent.IFluent<T>
| Modifier and Type | Method and Description |
|---|---|
T |
withSubscription(IThreadSafeRetryableConsumer<P> consumer,
String subscriptionName,
List<String> topicNames)
Subscribe to the given subscription on the given topics.
|
T |
withSubscription(IThreadSafeRetryableConsumer<P> consumer,
String subscriptionName,
String[] topicNames)
Subscribe to the given subscription on the given topics.
|
T |
withSubscription(IThreadSafeRetryableConsumer<P> consumer,
String subscriptionName,
String topicName,
String... additionalTopicNames)
Subscribe to the given subscription on the given topics.
|
T withSubscription(IThreadSafeRetryableConsumer<P> consumer, String subscriptionName, String topicName, String... additionalTopicNames)
consumer - A consumer for received messages.subscriptionName - A subscription name.topicName - A topic name.additionalTopicNames - An optional list of additional topic names.T withSubscription(IThreadSafeRetryableConsumer<P> consumer, String subscriptionName, List<String> topicNames)
consumer - A consumer for received messages.subscriptionName - A subscription name.topicNames - A list of topic names.IllegalArgumentException - If the list of topics is empty.T withSubscription(IThreadSafeRetryableConsumer<P> consumer, String subscriptionName, String[] topicNames)
consumer - A consumer for received messages.subscriptionName - A subscription name.topicNames - A list of topic names.IllegalArgumentException - If the list of topics is empty.Copyright © 2018 Symphony Software Foundation. All rights reserved.