Uploaded image for project: 'James Mailbox'
  1. James Mailbox
  2. MAILBOX-326

Add a builder to limit MessageManager::appendMessage arguments

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • api
    • None

    Description

      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 MailboxException;
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            btellier Benoit Tellier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: