Event Trigger
Discover more about the Event Trigger component and how to use it on the Digibee Integration Platform.
Last updated
Discover more about the Event Trigger component and how to use it on the Digibee Integration Platform.
Last updated
An event is a message that notifies other components about a change of state, an action or an occurred fact. Event Trigger responds to a specific event generated by another pipeline through Event Publisher. To know more about this component, read the documentation.
You can also learn more about Event-driven architecture in our documentation.
Take a look at the configuration options for the component. Parameters supported by Double Braces expressions are marked with (DB)
.
Parameter | Description | Default value | Data type |
---|---|---|---|
The trigger expects a valid message in JSON format. The received message is exactly the one defined in the "body" attribute of the Event Publisher component.
The component retransmits the received message of the previous component with no changes. In the example above, the retransmitted message would be:
the pipeline to publish the event (Publisher);
one or more pipelines to consume the event (Subscribers).
drag the Event Publisher to the Publisher pipeline canvas;
configure the name of the event in the "Event" property of Event Publisher;
if you want to define a payload with the event, then define the content in the “Body” property.
change the trigger type to Event in the Subscriber pipeline;
open the trigger configurations and inform the name of the event to be consumed in the "Name of the Event" property. This value must be identical to the one informed in the Event Publisher of the Publisher pipeline.
Event Name
Name of the event the trigger responds to.
event-trigger
String
Expiration
Time the event spends in the queue (in milliseconds). If expiration = 0 or a value greater than 6h, then the expiration will be 1/4 of the specified Maximum Timeout value.
600000
Integer
Maximum Timeout
Maximum time (in milliseconds) for the pipeline to process information before returning a response. Default: 30000. Limit: 900000.
30000
Integer
Allow Redelivery of Messages
If activated, the option allows messages to be delivered again if the Pipeline Engine fails.
False
Boolean