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 |
withSubscriptionsByConfig(String topicListConfigName,
String subscriptionConfigName,
IThreadSafeRetryableConsumer<P> consumer)
Subscribe to the given subscription on the given topic.
|
T withSubscriptionsByConfig(String topicListConfigName, String subscriptionConfigName, IThreadSafeRetryableConsumer<P> consumer)
topicListConfigName - The name of a key in the given configuration which contains the name of one or more topicssubscriptionConfigName - The name of a key in the given configuration which contains the name of the subscriptionconsumer - A consumer for received messages.IllegalArgumentException - If a duplicate request is made.Copyright © 2018 Symphony Software Foundation. All rights reserved.