[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to