public class MessageEvent extends Event
Constructor and Description |
---|
MessageEvent(Message message,
FlowPoint flowPoint,
java.lang.String sequence,
java.lang.String endpoint)
Constructs the message event with the specified properties
|
Modifier and Type | Method and Description |
---|---|
Message |
getMessage()
Gets the message object of the event
|
getContext, getCreatedAt, getSubject
public MessageEvent(Message message, FlowPoint flowPoint, java.lang.String sequence, java.lang.String endpoint)
message
- the message of the eventflowPoint
- the type of the eventsequence
- the current execution sequenceendpoint
- the current execution endpointpublic Message getMessage()