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

Tellier Benoit resolved MAILBOX-326.
------------------------------------
    Resolution: Fixed

https://github.com/linagora/james-project/pull/1357 solved the issue

> Add a builder to limit MessageManager::appendMessage arguments
> --------------------------------------------------------------
>
>                 Key: MAILBOX-326
>                 URL: https://issues.apache.org/jira/browse/MAILBOX-326
>             Project: James Mailbox
>          Issue Type: Improvement
>          Components: api
>            Reporter: Tellier Benoit
>            Priority: Major
>
> This method takes arguments, which often have default values.
> Furthermore, the message can be passed as bytes, inputStream or even String, 
> forcing to do a lot of wiring.
> We could enhance this by adding a command helper object that would synthesise 
> these arguments, then expose an additional method:
> {code:java}
>     ComposedMessageId appendMessage(AppendCommand appendCommand, 
> MailboxSession session) throws MailboxException;
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to