public interface OutboxMessageEventContext extends EventContext
OutboxService
Modifier and Type | Method and Description |
---|---|
static OutboxMessageEventContext |
create(String targetEvent)
Creates a new
OutboxMessageEventContext |
Boolean |
getIsInbound()
Returns the inbound flag
|
String |
getMessage() |
Instant |
getTimestamp() |
void |
setIsInbound(boolean inbound)
Sets the inbound flag
|
void |
setMessage(String message)
Sets the outbox message stored and again published by the
OutboxService |
void |
setTimestamp(Instant timestamp)
Sets the timestamp when the message was stored in the outbox.
|
as, create, create, get, getAuthenticationInfo, getCdsRuntime, getChangeSetContext, getEvent, getFeatureTogglesInfo, getMessages, getModel, getParameterInfo, getService, getServiceCatalog, getTarget, getUserInfo, isCompleted, keySet, put, setCompleted
static OutboxMessageEventContext create(String targetEvent)
OutboxMessageEventContext
targetEvent
- the target event with which the message is stored and again published by the OutboxService
OutboxMessageEventContext
Boolean getIsInbound()
true
if the message is again published by the OutboxService
and false
if the message should be stored.void setIsInbound(boolean inbound)
inbound
- true
if the message is again published by the OutboxService
and false
if the message should be stored.Instant getTimestamp()
void setTimestamp(Instant timestamp)
timestamp
- the timestampString getMessage()
OutboxService
void setMessage(String message)
OutboxService
message
- the outbox messageCopyright © 2023. All rights reserved.