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 "Edgar Asatryan (JIRA)" <se...@james.apache.org> on 2018/07/12 14:14:00 UTC

[jira] [Commented] (JAMES-2298) FileMailQueue do not support remove

    [ 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:
---------------------------------------

Hi,

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
(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