public interface AmqpListenerLock
AmqpListener to give the capability to the message listener work synchronously
consuming and processing messages through the entire flow.AmqpListener| Modifier and Type | Method and Description |
|---|---|
boolean |
isLocked() |
void |
lock()
Locks the listener waiting to the message to be processed through the flow
|
void |
unlock()
Unlocks the listener indicating that message has been processed correctly
|
void |
unlockWithFailure()
Unlocks the listener indicating that message has been processed with failures and the error should be propagated
|
void |
unlockWithFailure(org.mule.runtime.api.message.Error error)
Unlocks the listener indicating that message has been processed with failures and the error should be propagated
|
void lock()
void unlock()
void unlockWithFailure()
void unlockWithFailure(org.mule.runtime.api.message.Error error)
error - The error to propagate inside the message listenerboolean isLocked()
Copyright © 2023 MuleSoft, Inc.. All rights reserved.