Quynh Nguyen created JAMES-2050:
-----------------------------------
Summary: Improve IMAP processor configuration
Key: JAMES-2050
URL: https://issues.apache.org/jira/browse/JAMES-2050
Project: James Server
Issue Type: Improvement
Reporter: Quynh Nguyen
In some cases we would like to activate and deactivate a capability. On current
code, it's no easy to do it.
For detail how to do it and technical detail we have:
- Processor configuration is hardcoded in Spring and Guice
- We want it to be read instead from XML file
- This means we should:
+ Uncouple IMAP processors configuration from IMAP processor construction
(as XML file for the specific IMAP server is not available). This can be done
by adding a **configure** method to each IMAP processor.
+ This way, the processor chain can be configured for each IMAP servers
+ We need to ensure IMAP processor is not a singleton: its configuration
might differ across servers
+ The configuration of the processor chain should then be done by
IMAPServer
(and remove hard-coded configuration settings from Spring and Guice
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]