Class InboundMessageRowCodec
java.lang.Object
at.aimon.session.postgres.internal.InboundMessageRowCodec
Jackson codec for the
InboundMessage envelope persisted to conversation_inbox.payload (JSONB).
The encoded form omits InboundMessage.getId() because the inbox-assigned id is the bigserial
conversation_inbox.id column; on decode the caller passes the id (rendered as a string) and the codec stamps
it onto the rebuilt envelope.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
InboundMessageRowCodec
public InboundMessageRowCodec(com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-
Method Details
-
encode
-
decode
-