public class MessageThrowingEventListener extends BaseDelegateEventListener
ActivitiEventListener 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(ActivitiEvent event)
Called when an event has been fired
|
void |
setMessageName(String messageName) |
isValidEvent, setEntityClasspublic void onEvent(ActivitiEvent event)
ActivitiEventListenerevent - the eventpublic void setMessageName(String messageName)
public boolean isFailOnException()
Copyright © 2016 Alfresco. All rights reserved.