You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "René Cordier (Jira)" <se...@james.apache.org> on 2019/11/25 02:32:00 UTC

[jira] [Closed] (JAMES-2989) MessagePreviewStore API + contract + memory

     [ https://issues.apache.org/jira/browse/JAMES-2989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

René Cordier closed JAMES-2989.
-------------------------------

> MessagePreviewStore API + contract + memory
> -------------------------------------------
>
>                 Key: JAMES-2989
>                 URL: https://issues.apache.org/jira/browse/JAMES-2989
>             Project: James Server
>          Issue Type: Sub-task
>            Reporter: Trần Tiến Đức
>            Priority: Major
>
> 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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org