public interface IMessageDispatcher extends ISubscriptionContextAware
Modifier and Type | Method and Description |
---|---|
void |
dispatch(MessagePublication publication,
Object message,
Iterable listeners)
Delivers the given message to the given set of listeners.
|
IHandlerInvocation |
getInvocation()
Get the handler invocation that will be used to deliver the
message to each listener.
|
getContext
void dispatch(MessagePublication publication, Object message, Iterable listeners)
publication
- The message publication that initiated the dispatchmessage
- The message that should be delivered to the listenerslisteners
- The listeners that should receive the messageIHandlerInvocation getInvocation()
Copyright © 2018. All rights reserved.