[
https://issues.apache.org/jira/browse/JAMES-3389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17203128#comment-17203128
]
Benoit Tellier commented on JAMES-3389:
---------------------------------------
> Since the underlying queues are a bit different (ActiveMQ vs RabbitMQ) it
> needs to be designed in a way that it works for all configurations.
I would suggest using the mailqueue API
https://github.com/apache/james-project/tree/master/server/queue/queue-api
Also not that there already exists some routes to administer mailqueue
We could simply add a new endpoint to the existing one to submit emails:
https://github.com/apache/james-project/tree/master/server/protocols/webadmin/webadmin-mailqueue
> I would like to work on this myself but it will take me some weeks before I
> can start.
No problems ;-)
> New API endpoint to accept incoming message
> -------------------------------------------
>
> Key: JAMES-3389
> URL: https://issues.apache.org/jira/browse/JAMES-3389
> Project: James Server
> Issue Type: Improvement
> Reporter: Juhan Aasaru
> Priority: Major
>
> We have messages arriving over a web service (not SMPT). For this we need a
> new API endpoint that would accept the message and insert it into the queue
> (ActiveMQ / rabbitMQ) for the email to be processed and stored.
> This new code would be placed to webadmin where all of the REST API-s live.
> Since the underlying queues are a bit different (ActiveMQ vs RabbitMQ) it
> needs to be designed in a way that it works for all configurations.
> Original discussion:
> [https://www.mail-archive.com/[email protected]/msg16399.html]
> I would like to work on this myself but it will take me some weeks before I
> can start. Feel free to discuss under this task how to design it best. All
> the ideas how to solve this technically are taken from the thread in the
> mailing list - I haven't looked at the code myself yet.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]