Enum SubscriberShutdownSettings.ShutdownMode (1.143.0)

public enum SubscriberShutdownSettings.ShutdownMode extends Enum<SubscriberShutdownSettings.ShutdownMode>

Defines the behavior for handling outstanding messages during subscriber shutdown.

Static Fields

Name Description
NACK_IMMEDIATELY

The subscriber will immediately nack all outstanding messages and attempt to shut down as quickly as possible. Messages delivered to the user callback but not yet acked/nacked will also be nacked.

WAIT_FOR_PROCESSING

The subscriber will wait for all outstanding messages to be processed (acked or nacked by the user's message receiver) before completing the shutdown.

Static Methods

Name Description
valueOf(String name)
values()