public interface MessageOperationDao
Modifier and Type | Method and Description |
---|---|
void |
removeExtCalls(Message msg,
boolean totalRestart)
Removes external calls for specific message.
|
boolean |
setCancelState(Message msg)
Cancels next message processing = change the message state to
MsgStateEnum.CANCEL . |
boolean |
setPartlyFailedState(Message msg)
Restarts message = change the message state from FAILED -> PARTLY_FAILED.
|
boolean setPartlyFailedState(Message msg)
Only messages in FAILED state can be changed, otherwise exception will be thrown.
msg
- the messagetrue
if state was successfully set, otherwise false
void removeExtCalls(Message msg, boolean totalRestart)
msg
- the messagetotalRestart
- true
if all external call should be deleted (=message will be processed from scratch)
or false
if only external calls for confirmations should be deletedboolean setCancelState(Message msg)
MsgStateEnum.CANCEL
.msg
- the messagetrue
if state was successfully set, otherwise false
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.