Class AbstractEventDispatcher
java.lang.Object
io.debezium.outbox.quarkus.internal.AbstractEventWriter<Void>
io.debezium.outbox.quarkus.internal.AbstractEventDispatcher
- All Implemented Interfaces:
EventDispatcher
- Direct Known Subclasses:
DebeziumTracerEventDispatcher,DefaultEventDispatcher
public abstract class AbstractEventDispatcher
extends AbstractEventWriter<Void>
implements EventDispatcher
Abstract base class for the Debezium Outbox
EventDispatcher contract.- Author:
- Chris Cranford
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) DebeziumOutboxRuntimeConfigDebezium runtime configuration(package private) jakarta.persistence.EntityManagerFields inherited from class io.debezium.outbox.quarkus.internal.AbstractEventWriter
AGGREGATE_ID, AGGREGATE_TYPE, PAYLOAD, TIMESTAMP, TYPE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.debezium.outbox.quarkus.internal.AbstractEventWriter
createDataMap, getDataMapFromEventMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.debezium.outbox.quarkus.internal.EventDispatcher
onExportedEvent
-
Field Details
-
entityManager
@Inject jakarta.persistence.EntityManager entityManager -
config
Debezium runtime configuration
-
-
Constructor Details
-
AbstractEventDispatcher
public AbstractEventDispatcher()
-
-
Method Details
-
persist
Persists the map of key/value pairs to the database.- Specified by:
persistin classAbstractEventWriter<Void>- Parameters:
dataMap- the data map, should never benull
-
remove
-