Package at.aimon.session.web.inbox
Class InboundMessageId
java.lang.Object
at.aimon.session.web.inbox.InboundMessageId
Stable opaque identifier of an
InboundMessage appended to a ConversationInbox.
The implementation backing the inbox issues the value at deliver time (UUID for in-memory, Redis Streams entry id
like "1700000000000-0" for Redis). Callers and the manager treat the value as opaque — only equality and
value extraction are meaningful.
Immutable value object.
-
Method Summary
-
Method Details
-
of
Wraps an opaque string into anInboundMessageId.- Parameters:
value- the opaque value (must not be null, must not be empty)- Returns:
- a new
InboundMessageId
-
value
Returns the underlying opaque value.- Returns:
- the value (never null, never empty)
-
equals
-
hashCode
public int hashCode() -
toString
-