public class DefaultCallbackBehavior extends Object implements CallbackBehavior
null
,
which results in the CommandCallback.onSuccess(Object)
method to be
invoked with a null
result parameter.Constructor and Description |
---|
DefaultCallbackBehavior() |
public Object handle(Object commandPayload, MetaData commandMetaData) throws Throwable
CallbackBehavior
handle
in interface CallbackBehavior
commandPayload
- The payload of the Command MessagecommandMetaData
- The MetaData of the CommandMessageThrowable
- If the onFailure method of the callback must be invokedCopyright © 2010-2014. All Rights Reserved.