Class DirectTriggerService

java.lang.Object
org.chenile.trigger.DirectTriggerService
All Implemented Interfaces:
TriggerService

public class DirectTriggerService extends Object implements TriggerService
Raises the event at once, in the caller's thread, and returns when every subscriber has finished. A failure is rethrown to the caller and the idempotency key is released so that the caller can retry.

Deduplication and status are kept in memory, per node, for a limited time: this is the default for applications without process management. Process management replaces it with a durable, outbox-backed implementation that deduplicates across nodes.