@Service(value="confirmationCallback") public class DefaultConfirmationCallback extends Object implements ConfirmationCallback
ConfirmationCallback
that only logs information and nothing more.BEAN
Constructor and Description |
---|
DefaultConfirmationCallback() |
Modifier and Type | Method and Description |
---|---|
void |
confirm(Message msg)
Confirms that the message was fully processed.
|
public void confirm(Message msg)
ConfirmationCallback
state
,
that is either MsgStateEnum.OK
or MsgStateEnum.FAILED
.confirm
in interface ConfirmationCallback
msg
- the messageCopyright © 2018 Pivotal Software, Inc.. All rights reserved.