Class PersistentOutbox
java.lang.Object
com.sap.cds.services.ServiceDelegator
com.sap.cds.services.impl.outbox.AbstractOutboxService
com.sap.cds.services.impl.outbox.persistence.PersistentOutbox
- All Implemented Interfaces:
OutboxService,Service
-
Field Summary
FieldsFields inherited from interface com.sap.cds.services.outbox.OutboxService
INMEMORY_NAME, PERSISTENT_ORDERED_NAME, PERSISTENT_UNORDERED_NAME -
Constructor Summary
ConstructorsConstructorDescriptionPersistentOutbox(String name, CdsProperties.Outbox.OutboxConfig config, CdsRuntime runtime, Supplier<List<TenantInfo>> tenantSupplier) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidsubmit(OutboxMessageEventContext context) Stores the outbox message in the outbox, to be retrieved for later publishing.Methods inherited from class com.sap.cds.services.impl.outbox.AbstractOutboxService
outboxed, submitMethods inherited from class com.sap.cds.services.ServiceDelegator
after, before, emit, getDelegatedService, getName, on
-
Field Details
-
ATTR_EVENT
- See Also:
-
ATTR_MESSAGE
- See Also:
-
-
Constructor Details
-
PersistentOutbox
public PersistentOutbox(String name, CdsProperties.Outbox.OutboxConfig config, CdsRuntime runtime, Supplier<List<TenantInfo>> tenantSupplier)
-
-
Method Details
-
submit
Description copied from class:AbstractOutboxServiceStores the outbox message in the outbox, to be retrieved for later publishing.- Specified by:
submitin classAbstractOutboxService- Parameters:
context- theOutboxMessageEventContext
-