public interface Message
Message is processed by a JavaNode. Optionally,
the JavaNode can produce new Messages that will be
processed through the Flow.| Modifier and Type | Method and Description |
|---|---|
Message |
deriveMessage(Payload payload)
Returns a new
Message. |
Map<String,Object> |
getMessageVariables()
Returns current map of
Message variable names and values. |
Payload |
getPayload()
Returns the
Message Payload |
Object |
getVariable(String name)
Returns the value of the
Message variable. |
void |
setVariable(String name,
Object value)
Set a variable name and value in the
Message variables. |
Message deriveMessage(Payload payload)
Message.payload - for the new MessagePayload getPayload()
Message PayloadMessage PayloadMap<String,Object> getMessageVariables()
Message variable names and values.Message variable names and valuesvoid setVariable(String name, Object value)
Message variables.name - The name of the variable to get.value - The value to set in the variable.