Class MessageThrowingEventListener

  • All Implemented Interfaces:
    FlowableEventListener

    public class MessageThrowingEventListener
    extends BaseDelegateEventListener
    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 Detail

      • messageName

        protected String messageName
      • entityClass

        protected Class<?> entityClass
    • Constructor Detail

      • MessageThrowingEventListener

        public MessageThrowingEventListener()
    • Method Detail

      • setMessageName

        public void setMessageName​(String messageName)
      • isFailOnException

        public boolean isFailOnException()