Class EventTriggerService
java.lang.Object
org.chenile.trigger.EventTriggerService
- All Implemented Interfaces:
TriggerService
Commits durable transactionTemplate before returning; execution is exclusively the dispatcher's
job.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ObjectMapperprivate final ProcessOutboxRepositoryprivate final OutboxCommandProducer<OutboxCommand> private final TriggerRequestsprivate final TenantScopeprivate final TransactionTemplate -
Constructor Summary
ConstructorsConstructorDescriptionEventTriggerService(ProcessOutboxRepository outbox, DispatchTriggerCommand command, ObjectMapper mapper, PlatformTransactionManager manager, TenantScope tenantScope) -
Method Summary
Modifier and TypeMethodDescriptionstatic TriggerStatusdescribe(OutboxCommand command, ObjectMapper mapper) trigger(TriggerInput input)
-
Field Details
-
outbox
-
producer
-
mapper
-
transactionTemplate
-
tenantScope
-
requests
-
-
Constructor Details
-
EventTriggerService
public EventTriggerService(ProcessOutboxRepository outbox, DispatchTriggerCommand command, ObjectMapper mapper, PlatformTransactionManager manager, TenantScope tenantScope)
-
-
Method Details
-
trigger
- Specified by:
triggerin interfaceTriggerService
-
status
- Specified by:
statusin interfaceTriggerService
-
describe
-
CHENILE