Package org.alfresco.event.outbox
Interface Outbox
public interface Outbox
The main entrypoint to the Outbox module. It allows to store an event (
An
getInboundEventConsumer()). When started (start()) it will begin relaying the stored Events to the target system. An
Outbox instance can be created by the OutboxBuilder- See Also:
-
Method Details
-
start
void start()Starts theOutboxbackground processes which are used to relay the storedEvents to the target system.- Throws:
OutboxException- on failures.
-
shutdown
void shutdown()theOutboxbackground processes. -
getInboundEventConsumer
EventConsumer getInboundEventConsumer()- Returns:
- an
EventConsumerwhich can be used to storeEvents in theOutbox.
TheEventConsumer.consume(Event)method might fail with theOutboxExceptionwhen storing anEventfailed.
-