public interface CallbackBehavior
Modifier and Type | Method and Description |
---|---|
Object |
handle(Object commandPayload,
MetaData commandMetaData)
Invoked when the Command Bus receives a Command that is dispatched with a Callback method.
|
Object handle(Object commandPayload, MetaData commandMetaData) throws Exception
commandPayload
- The payload of the Command MessagecommandMetaData
- The MetaData of the CommandMessageException
- If the onFailure method of the callback must be invokedCopyright © 2010–2024. All rights reserved.