Package com.avoka.fc.core.entity
Class EventOutbox
java.lang.Object
org.apache.cayenne.PersistentObject
org.apache.cayenne.BaseDataObject
org.apache.cayenne.CayenneDataObject
com.avoka.core.entity.BaseEntity
com.avoka.fc.core.entity.auto._EventOutbox
com.avoka.fc.core.entity.EventOutbox
- All Implemented Interfaces:
IEntity
,Serializable
,org.apache.cayenne.DataObject
,org.apache.cayenne.Persistent
,org.apache.cayenne.Validating
Provides an event outbox entity containing all events which should be saved in transactional outbox.
- Since:
- 22.10.0
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
A Before processing errorstatic final String
A processing errorstatic final String[]
The full set of error typesstatic final String
A delivered eventstatic final String
A failed eventstatic final String
An in progress eventstatic final String
An in progress eventstatic final String
A new eventstatic final String[]
The full set of event StatusFields inherited from class com.avoka.fc.core.entity.auto._EventOutbox
CREATED_DATETIME, CREATED_DATETIME_PROPERTY, ENTITY_ID, ENTITY_ID_PROPERTY, ENTITY_TYPE, ENTITY_TYPE_PROPERTY, ERROR_LOG, ERROR_LOG_PROPERTY, ERROR_TYPE, ERROR_TYPE_PROPERTY, EVENT_DETAILS, EVENT_DETAILS_PROPERTY, EVENT_OID_PK_COLUMN, EVENT_TOPIC, EVENT_TOPIC_PROPERTY, PAYLOAD, PAYLOAD_PROPERTY, PROCESSED_DATETIME, PROCESSED_DATETIME_PROPERTY, QUEUED_DATETIME, QUEUED_DATETIME_PROPERTY, RESPONSE_PAYLOAD, RESPONSE_PAYLOAD_PROPERTY, RETRY_COUNT, RETRY_COUNT_PROPERTY, SERVICE_CONNECTION, SERVICE_CONNECTION_PROPERTY, STATUS, STATUS_PROPERTY, USER_ACCOUNT, USER_ACCOUNT_PROPERTY
Fields inherited from class com.avoka.core.entity.BaseEntity
ID_PROPERTY
Fields inherited from class org.apache.cayenne.CayenneDataObject
values
Fields inherited from class org.apache.cayenne.BaseDataObject
snapshotVersion
Fields inherited from class org.apache.cayenne.PersistentObject
objectContext, objectId, persistenceState
Fields inherited from interface org.apache.cayenne.DataObject
DEFAULT_VERSION
-
Constructor Summary
-
Method Summary
Methods inherited from class com.avoka.fc.core.entity.auto._EventOutbox
getCreatedDatetime, getEntityId, getEntityType, getErrorLog, getErrorType, getEventDetails, getEventTopic, getPayload, getProcessedDatetime, getQueuedDatetime, getResponsePayload, getRetryCount, getServiceConnection, getStatus, getUserAccount, setCreatedDatetime, setEntityId, setEntityType, setErrorLog, setErrorType, setEventDetails, setEventTopic, setPayload, setProcessedDatetime, setQueuedDatetime, setResponsePayload, setRetryCount, setServiceConnection, setStatus, setUserAccount
Methods inherited from class com.avoka.core.entity.BaseEntity
appendProperties, getId, getValuesMap, isNew, setId, toString
Methods inherited from class org.apache.cayenne.CayenneDataObject
makePath, readPropertyDirectly, readState, setPersistenceState, writePropertyDirectly, writeState
Methods inherited from class org.apache.cayenne.BaseDataObject
addToManyTarget, beforePropertyRead, beforePropertyWrite, getSnapshotVersion, readNestedProperty, readProperty, readSerialized, removeToManyTarget, setObjectContext, setReverseRelationship, setSnapshotVersion, setToManyTarget, setToOneTarget, toStringBuffer, unsetReverseRelationship, validateForDelete, validateForInsert, validateForSave, validateForUpdate, willConnect, writeProperty, writeSerialized
Methods inherited from class org.apache.cayenne.PersistentObject
getMapKey, getObjectContext, getObjectId, getPersistenceState, setObjectId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.cayenne.Persistent
getObjectContext, getObjectId, getPersistenceState, setObjectContext, setObjectId, setPersistenceState
-
Field Details
-
STATUS_NEW
A new event- See Also:
-
STATUS_IN_PROGRESS
An in progress event- See Also:
-
STATUS_IN_QUEUE
An in progress event- See Also:
-
STATUS_DELIVERED
A delivered event- See Also:
-
STATUS_FAILED
A failed event- See Also:
-
STATUSES
The full set of event Status -
ERROR_TYPE_FAIL_BEFORE_PROCESSING
A Before processing error- See Also:
-
ERROR_TYPE_FAIL_PROCESSING
A processing error- See Also:
-
ERROR_TYPES
The full set of error types
-
-
Constructor Details
-
EventOutbox
public EventOutbox()
-