public class GoogleSubscriberManager extends AbstractSubscriberManager<org.symphonyoss.s2.common.immutable.ImmutableByteArray,T>
FAILED_CONSUMER_RETRY_TIME, FAILED_DEAD_LETTER_RETRY_TIME, MESSAGE_PROCESSED_OK| Constructor and Description |
|---|
GoogleSubscriberManager(INameFactory nameFactory,
String projectId,
ITraceContextFactory traceFactory,
IThreadSafeErrorConsumer<org.symphonyoss.s2.common.immutable.ImmutableByteArray> unprocessableMessageConsumer)
Normal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertConfigurable() |
protected void |
setLifeCycleState(FugueLifecycleState arg0) |
protected void |
startSubscription(Subscription<org.symphonyoss.s2.common.immutable.ImmutableByteArray> subscription) |
protected void |
stopSubscriptions() |
getSubscribers, getTraceFactory, handleMessage, start, stop, withSubscription, withSubscriptionsByConfigclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetComponentId, getComponentState, getComponentStatusMessagepublic GoogleSubscriberManager(INameFactory nameFactory, String projectId, ITraceContextFactory traceFactory, IThreadSafeErrorConsumer<org.symphonyoss.s2.common.immutable.ImmutableByteArray> unprocessableMessageConsumer)
nameFactory - A NameFactory.projectId - The Google project ID for the pubsub service.traceFactory - A trace context factory.unprocessableMessageConsumer - Consumer for invalid messages.protected void startSubscription(Subscription<org.symphonyoss.s2.common.immutable.ImmutableByteArray> subscription)
startSubscription in class AbstractSubscriberManager<org.symphonyoss.s2.common.immutable.ImmutableByteArray,T extends ISubscriberManager<org.symphonyoss.s2.common.immutable.ImmutableByteArray,T>>protected void stopSubscriptions()
stopSubscriptions in class AbstractSubscriberManager<org.symphonyoss.s2.common.immutable.ImmutableByteArray,T extends ISubscriberManager<org.symphonyoss.s2.common.immutable.ImmutableByteArray,T>>protected void assertConfigurable()
protected void setLifeCycleState(FugueLifecycleState arg0)
Copyright © 2018 Symphony Software Foundation. All rights reserved.