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

Tellier Benoit updated JAMES-2319:
----------------------------------
    Description: 
The goal of this ticket is to implement an additional webadmin mailqueue 
management endpoint.

{code:java}
DELETE /mailQueues/:name/messages/
{code}

This should purge the mail queue (akka delete all mails from the queue).

You need to enhance the behaviour of MailQueueRoutes. You need a DELETE without 
query paramete to call ManageableMailQueue::clear.

This task is relate to JAMES-2320 which should add a task for this.


If you need more details to implement this feature, we are willing to provide 
support. Don't hesitate to ask on https://gitter.im/apache/james-project. We 
are willing to provide guidance.

  was:
{code:java}
DELETE /mailQueues/:name/messages/
{code}

Should purge (akka delete all mails from the queue)

You will submit a Task to the Task manager for this, as this might take time. 
Have a look to MailRepositoryRoute related tasks to see how to implement 
completion like additional information.


If you need more details to implement this feature, we are willing to provide 
support. Don't hesitate to ask on https://gitter.im/apache/james-project. We 
are willing to provide guidance.


> As an administrator I want to clear a mailQueue
> -----------------------------------------------
>
>                 Key: JAMES-2319
>                 URL: https://issues.apache.org/jira/browse/JAMES-2319
>             Project: James Server
>          Issue Type: Improvement
>          Components: Queue, webadmin
>    Affects Versions: master
>            Reporter: Tellier Benoit
>            Priority: Major
>              Labels: feature, newbie
>
> The goal of this ticket is to implement an additional webadmin mailqueue 
> management endpoint.
> {code:java}
> DELETE /mailQueues/:name/messages/
> {code}
> This should purge the mail queue (akka delete all mails from the queue).
> You need to enhance the behaviour of MailQueueRoutes. You need a DELETE 
> without query paramete to call ManageableMailQueue::clear.
> This task is relate to JAMES-2320 which should add a task for this.
> If you need more details to implement this feature, we are willing to provide 
> support. Don't hesitate to ask on https://gitter.im/apache/james-project. We 
> are willing to provide guidance.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to