public interface IMessageBusAdapter
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(List<String> messageCodes,
List<String> handlerCodes) |
void |
registerMessageBusService(IMessageBus messageBus)
Registers the messageBusService.
|
void |
sendMessage(IBusMessage message)
Sends a message out to the bus implementation.
|
void initialize(List<String> messageCodes, List<String> handlerCodes) throws MessageBusInitializationException
messageCodes - The codes for all the messages in scope (Exchanges)handlerCodes - The codes the there are handlers for (Exchanges we need a queue which we are subscribed to)MessageBusInitializationExceptionvoid sendMessage(IBusMessage message) throws MessageSendingException
message - Message to send to the BusMessageSendingException - If an error occursvoid registerMessageBusService(IMessageBus messageBus)
messageBus - the message bus service.Copyright © 2018. All rights reserved.