public interface JmsListenerLockFactory
JmsListenerLock| Modifier and Type | Method and Description |
|---|---|
JmsListenerLock |
createLock(InternalAckMode resolvedAckMode)
Creates a new instance for the given
resolvedAckMode |
static JmsListenerLockFactory |
newDefault() |
void |
setEnabled(boolean enabled)
Toggles the enable state of
this instance. |
static JmsListenerLockFactory newDefault()
JmsListenerLock createLock(InternalAckMode resolvedAckMode)
resolvedAckModeresolvedAckMode - the ack mode{@link - IllegalStateException} if this factory has been disabled through setEnabled(boolean)void setEnabled(boolean enabled)
this instance. This is useful for stop/reconnection cases in which we want to keep
messages from being dispatched to the flow.enabled - the new stateCopyright © 2022. All rights reserved.