Trần Tiến Đức created JAMES-2989:
------------------------------------

             Summary: MessagePreviewStore API + contract + memory
                 Key: JAMES-2989
                 URL: https://issues.apache.org/jira/browse/JAMES-2989
             Project: James Server
          Issue Type: New Feature
            Reporter: Trần Tiến Đức


Follow the ADR in [https://github.com/apache/james-project/pull/170]

 

We need an API to store messages preview.

Implement MessagePreviewStore API + contract + memory in data-jmap.

 
{code:java}
interface MessagePreviewStore {
 Publisher<Void> store(MessageId messageId, Preview preview);
Publisher<Preview> retrieve(MessageId messageId);
Publisher<Void> delete(MessageId messageId);
}
{code}




Note: Preview needs strong typing and business rule enforcement (max 256 
character)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to