public static interface MessageBusBinding.PostMessagePrepProcessor
| Modifier and Type | Method and Description |
|---|---|
void |
onSendPrepComplete(MessageView view)
Invoked after the preparation of a message for send is complete
|
void onSendPrepComplete(MessageView view)
view - The message view whose preparation is complete.
Before an outbound message is handed to the concrete binding
implementation for sending, the message needs to be prepared.
In particular, this preparation includes the following:
- sync'ing the message to its serialized form
- validating and resolving the message's key
- resolving and setting the message's outbound sequence number
- setting the message sender
This method is invoked after this preparation is complete and
just before the concrete messaging binding's send method is
invoked.
This method is invoked by the MessageChannel.sendMessage(com.neeve.sma.MessageView, java.util.Properties, int)
method. Any exception thrown by this method will propagate back
to the caller of the sendMessage method.
Note: This method is synchronized i.e. it will be serially invoked for bindings that are enabled for concurrent send.
Copyright © 2019 N5 Technologies, Inc. All Rights Reserved.