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 "Tellier Benoit (JIRA)" <se...@james.apache.org> on 2018/01/25 05:10:01 UTC
[jira] [Commented] (JAMES-2292) Webadmin mail queue management
[ https://issues.apache.org/jira/browse/JAMES-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16338738#comment-16338738 ]
Tellier Benoit commented on JAMES-2292:
---------------------------------------
Merged:
- https://github.com/linagora/james-project/pull/1254 JAMES-2292 GET /mailQueues/{mailQueueName}/messages endpoint
- https://github.com/linagora/james-project/pull/1257 James 2292 get mailqueue
> Webadmin mail queue management
> ------------------------------
>
> Key: JAMES-2292
> URL: https://issues.apache.org/jira/browse/JAMES-2292
> Project: James Server
> Issue Type: New Feature
> Components: Queue, webadmin
> Affects Versions: master
> Reporter: Tellier Benoit
> Priority: Major
> Labels: feature
> Fix For: master
>
>
> We need to be able to manage the mail queue over webAdmin.
> - Here are the proposed endpoints :
> {code}
> 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
> {code}
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org