public class DelegateConfirmationCallback extends Object implements ConfirmationCallback
ConfirmationCallback
that delegates confirmation
to ExternalSystemConfirmation
implementation.BEAN
Constructor and Description |
---|
DelegateConfirmationCallback() |
Modifier and Type | Method and Description |
---|---|
void |
confirm(Message msg)
Confirms that the message was fully processed.
|
protected ExternalSystemConfirmation |
getImplementation(ExternalSystemExtEnum externalSystem)
Gets (first) implementation for specified external system.
|
public void confirm(Message msg)
ConfirmationCallback
state
,
that is either MsgStateEnum.OK
or MsgStateEnum.FAILED
.confirm
in interface ConfirmationCallback
msg
- the message@Nullable protected ExternalSystemConfirmation getImplementation(ExternalSystemExtEnum externalSystem)
externalSystem
- the source systemCopyright © 2018 Pivotal Software, Inc.. All rights reserved.