Class MessageThrowingEventListener
java.lang.Object
org.flowable.common.engine.api.delegate.event.AbstractFlowableEventListener
org.flowable.engine.impl.bpmn.helper.BaseDelegateEventListener
org.flowable.engine.impl.bpmn.helper.MessageThrowingEventListener
- All Implemented Interfaces:
FlowableEventListener
An
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.- Author:
- Tijs Rademakers
-
Field Summary
FieldsFields inherited from class org.flowable.common.engine.api.delegate.event.AbstractFlowableEventListener
onTransaction -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidonEvent(FlowableEvent event) voidsetMessageName(String messageName) Methods inherited from class org.flowable.engine.impl.bpmn.helper.BaseDelegateEventListener
getEntityClass, isValidEvent, setEntityClassMethods inherited from class org.flowable.common.engine.api.delegate.event.AbstractFlowableEventListener
getOnTransaction, isFireOnTransactionLifecycleEvent, setOnTransactionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flowable.common.engine.api.delegate.event.FlowableEventListener
getTypes
-
Field Details
-
messageName
-
entityClass
-
-
Constructor Details
-
MessageThrowingEventListener
public MessageThrowingEventListener()
-
-
Method Details
-
onEvent
-
setMessageName
-
isFailOnException
public boolean isFailOnException()
-