public class MessageThrowingEventListener extends BaseDelegateEventListener
FlowableEventListener that throws a message event when an event is dispatched to it. Sends the message to the execution the event was fired from. If the execution is not subscribed to a
message, the process-instance is checked.| Modifier and Type | Field and Description |
|---|---|
protected Class<?> |
entityClass |
protected String |
messageName |
| Constructor and Description |
|---|
MessageThrowingEventListener() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFailOnException() |
void |
onEvent(FlowableEvent event) |
void |
setMessageName(String messageName) |
isValidEvent, setEntityClasspublic void onEvent(FlowableEvent event)
public void setMessageName(String messageName)
public boolean isFailOnException()
Copyright © 2017 Flowable. All rights reserved.