public interface MessageDispatcher
getMessageDispatcher().dispatch("some.message.id", "Message parameter 1", "Message parameter 2");| Modifier and Type | Method and Description |
|---|---|
MessageReply |
dispatch(Message message)
Dispatches a message to the message system.
|
MessageReply |
dispatch(String id,
Object... args)
Creates a message and dispatces it to the message system.
|
MessageReply |
dispatch(String id,
Throwable exception,
Object... args)
Creates a message and dispatces it to the message system.
|
MessageReply dispatch(String id, Object... args)
id - The message identifierargs - The arguments needed to create the message text.MessageInteractor does not interact with this message this value might be null.MessageReply dispatch(Message message)
message - The message to dispatchMessageInteractor does not interact with this message this value might be null.MessageReply dispatch(String id, Throwable exception, Object... args)
id - The message identifierexception - The exception associated with this message.args - The arguments needed to create the message text.MessageInteractor does not interact with this message this value might be null.Copyright © 2006–2020 Esito AS. All rights reserved.