james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edgar Asatryan (JIRA)" <server-...@james.apache.org>
Subject [jira] [Commented] (JAMES-2298) FileMailQueue do not support remove
Date Thu, 12 Jul 2018 14:14:00 GMT

    [ https://issues.apache.org/jira/browse/JAMES-2298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16541703#comment-16541703

Edgar Asatryan commented on JAMES-2298:


As issue title states the *FileMailQueue* does not support removal. To be more precise it
supports only removal by *Name*. Because current implementation write serialized java object
on the disk, it'll be inefficient to sequentially deserialize stored files back into POJO-s
and then perform searching on them.

I would suggest to use (maybe as a proof-of-concept) *Lucene* as a search engine. As a part
of this suggestion *FileMailQueue* code base will be modernized/simplified.

Tellier, is this be welcomed?



> FileMailQueue do not support remove
> -----------------------------------
>                 Key: JAMES-2298
>                 URL: https://issues.apache.org/jira/browse/JAMES-2298
>             Project: James Server
>          Issue Type: Bug
>          Components: Queue
>    Affects Versions: master
>            Reporter: Tellier Benoit
>            Priority: Major
> An exception is thrown or the code badly modify the state of the queue

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message