public interface IMessageBus
| Modifier and Type | Method and Description |
|---|---|
void |
receiveMessage(IBusMessage busMessage)
Handles a generic message coming in from the message Bus, and converts it into the
specific contract types and dispatches it.
|
void |
sendMessage(IMessageContract message)
Takes the specific message, turns it into a generic message, and send to the message bus.
|
void receiveMessage(IBusMessage busMessage) throws HandleMessageFailureException
busMessage - The message being received.HandleMessageFailureException - When the handling of the message fails.void sendMessage(IMessageContract message) throws MessageSendingException
message - the message to sendMessageSendingException - When there is a failure in sending.Copyright © 2018. All rights reserved.