Class DefaultEventDispatcher
- java.lang.Object
-
- io.debezium.outbox.quarkus.internal.AbstractEventDispatcher
-
- io.debezium.outbox.quarkus.internal.DefaultEventDispatcher
-
- All Implemented Interfaces:
EventDispatcher
@ApplicationScoped public class DefaultEventDispatcher extends AbstractEventDispatcher
The default application-scopedEventDispatcherimplementation that is responsible for observingExportedEventevents and when detected, persists them to the underlying database, allowing Debezium to capture and emit these as change events.- Author:
- Chris Cranford
-
-
Field Summary
Fields Modifier and Type Field Description private static org.slf4j.LoggerLOGGER-
Fields inherited from class io.debezium.outbox.quarkus.internal.AbstractEventDispatcher
AGGREGATE_ID, AGGREGATE_TYPE, config, entityManager, PAYLOAD, TIMESTAMP, TYPE
-
-
Constructor Summary
Constructors Constructor Description DefaultEventDispatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonExportedEvent(ExportedEvent<?,?> event)An event handler forExportedEventevents and will be called when the event fires.-
Methods inherited from class io.debezium.outbox.quarkus.internal.AbstractEventDispatcher
getDataMapFromEvent, persist
-
-
-
-
Method Detail
-
onExportedEvent
public void onExportedEvent(@Observes ExportedEvent<?,?> event)Description copied from interface:EventDispatcherAn event handler forExportedEventevents and will be called when the event fires.- Parameters:
event- the exported event
-
-