[
https://issues.apache.org/jira/browse/JAMES-1442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrzej Rusin updated JAMES-1442:
---------------------------------
Attachment: JAMES-1442-2.patch
Eric,
Here is a proposal to use Flags instead of Flag internally because Flags are
serializable and Flag is not for some reason.
API is unchanged, behaviour most probably too.
Serialized form is changed for sure, but no one was ever able to serialize it
up to now, as it was throwing NotSerializableException on the Flag.
> Make the org.apache.james.mailbox.model.SearchQuery and friends Serializable
> ----------------------------------------------------------------------------
>
> Key: JAMES-1442
> URL: https://issues.apache.org/jira/browse/JAMES-1442
> Project: James Server
> Issue Type: Improvement
> Components: MailStore & MailRepository
> Affects Versions: Trunk
> Environment: All
> Reporter: Andrzej Rusin
> Assignee: Eric Charles
> Priority: Minor
> Fix For: 3.0.0-beta5
>
> Attachments: JAMES-1442-2.patch, JAMES-1442.patch
>
>
> It would be nice if org.apache.james.mailbox.model.SearchQuery and all the
> classes defined in that file were marked as java.io.Serializable.
> It's just a marker interface so it should not really have any impact.
> It would allow my (and probably some other) stores to talk to some backend
> using RMI or similar, thus potentially making the store distributed/scalable.
> What do you think?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]