Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: master
    • Fix Version/s: master
    • Component/s: Queue, webadmin
    • Labels:

      Description

      We need to be able to manage the mail queue over webAdmin.

      • Here are the proposed endpoints :
       GET    /mailQueues -> list all mailQueues names
       GET    /mailQueues/:name -> retrieve mailqueues properties, including size
       GET    /mailQueues/:name/messages/ -> list messages in the queue (a message is set of property like sender, name, recipients, delayed), should handle limit, delayed and position parameters (with limit defaulting to a sensible value, delayed defaulted to no value and position defaulting to 0). Delayed would have 3 states : true, false, and no value (with means both)
       PATCH  /mailQueues/:name/messages/?delayed with data = {"delayed": false}
       DELETE /mailQueues/:name/messages/ ?sender ?name ?recipient 
      

      clear and flush would create tasks.

      • We will write unit tests based on Memory mail queue ( JAMES-2288 )
      • We will provide a webAdmin integration test demonstrating the routes can be used on the launched James instance.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              BTellier Tellier Benoit
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: