james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAILBOX-326) Add a builder to limit MessageManager::appendMessage arguments
Date Tue, 03 Apr 2018 04:44:00 GMT
Tellier Benoit created MAILBOX-326:

             Summary: 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

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:

    ComposedMessageId appendMessage(AppendCommand appendCommand, MailboxSession session) throws

This message was sent by Atlassian JIRA

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

View raw message