public interface MessageDispatcher
Modifier and Type | Method and Description |
---|---|
void |
dispatch(TavernaRun originator,
String messageSubject,
String messageContent,
String targetParameter)
Dispatch a message to a recipient.
|
String |
getName() |
boolean |
isAvailable() |
boolean isAvailable()
String getName()
void dispatch(@Nonnull TavernaRun originator, @Nonnull String messageSubject, @Nonnull String messageContent, @Nonnull String targetParameter) throws Exception
originator
- The workflow run that produced the message.messageSubject
- The subject of the message to send.messageContent
- The plain-text content of the message to send.targetParameter
- A description of where it is to go.Exception
- If anything goes wrong.Copyright © 2015–2018 The Apache Software Foundation. All rights reserved.