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 "Matthieu Baechler (JIRA)" <ji...@apache.org> on 2015/11/02 09:50:27 UTC
[jira] [Commented] (MAILBOX-259) Mailbox Listeners should be
asynchronously called.
[ https://issues.apache.org/jira/browse/MAILBOX-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14984889#comment-14984889 ]
Matthieu Baechler commented on MAILBOX-259:
-------------------------------------------
It's for sure a very dangerous thing to do as you have no idea what the consistency issues you are going to face. It's not a technical subject by rather a domain related one.
> Mailbox Listeners should be asynchronously called.
> --------------------------------------------------
>
> Key: MAILBOX-259
> URL: https://issues.apache.org/jira/browse/MAILBOX-259
> Project: James Mailbox
> Issue Type: Improvement
> Reporter: Tellier Benoit
>
> Event handling by Mailbox Listeners might take time.
> For instance indexation, etc...
> This time impact latencies.
> What I propose is to have a ThreadPool executor dedicated to event handling, and schedule tasks on it, then return before task completion.
> I gonna implement it on top of MAILBOX-211 :-)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org