public class DefaultJmsListenerLockFactory extends Object implements JmsListenerLockFactory
JmsListenerLockFactory| Constructor and Description |
|---|
DefaultJmsListenerLockFactory() |
| Modifier and Type | Method and Description |
|---|---|
JmsListenerLock |
createLock(InternalAckMode resolvedAckMode)
Creates a new instance for the given
resolvedAckMode |
void |
setEnabled(boolean enabled)
Toggles the enable state of
this instance. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewDefaultpublic JmsListenerLock createLock(InternalAckMode resolvedAckMode)
JmsListenerLockFactoryresolvedAckModecreateLock in interface JmsListenerLockFactoryresolvedAckMode - the ack modepublic void setEnabled(boolean enabled)
JmsListenerLockFactorythis instance. This is useful for stop/reconnection cases in which we want to keep
messages from being dispatched to the flow.setEnabled in interface JmsListenerLockFactoryenabled - the new stateCopyright © 2021. All rights reserved.