...
Receivers need to receive the message then mark it as processed when done.
Message columns
Column name | Description |
---|---|
ID | db uuid for this row |
HIBERNATE_VERSION_NUMBER | incrementing number so two updates dont occur at once (optimistic locking) |
SENT_TIME_MICROS | microseconds since 1970 this message was sent (note this is probably unique, but not necessarily |
GET_ATTEMPT_TIME_MILLIS | milliseconds that the message was attempted to be received |
GET_ATTEMPT_COUNT | how many times this message has been attempted to be retrieved |
STATE | state of this message: IN_QUEUE, GET_ATTEMPTED, PROCESSED |
GET_TIME_MILLIS | millis since 1970 that this message was successfully received |
FROM_MEMBER_ID | member id of user who sent the message |
TO_MEMBER_ID | member id of user who is receiving the message |
QUEUE_OR_TOPIC_NAME | queue or topic name for the message |
MESSAGE_BODY | message body |
...