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 "TzeKai Lee (Created) (JIRA)" <se...@james.apache.org> on 2011/12/28 14:30:30 UTC

[jira] [Created] (JAMES-1357) Add reloadability to mail processors

Add reloadability to mail processors
------------------------------------

                 Key: JAMES-1357
                 URL: https://issues.apache.org/jira/browse/JAMES-1357
             Project: JAMES Server
          Issue Type: New Feature
          Components: SpoolManager & Processors
            Reporter: TzeKai Lee


Currently mail processor/matcher/mailet configuration requires a james server restart to load new configuration. It would be nice to using new configuration without server restart.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (JAMES-1357) Add reloadability to mail processors

Posted by "TzeKai Lee (Commented) (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179235#comment-13179235 ] 

TzeKai Lee commented on JAMES-1357:
-----------------------------------

MailProcessor should be usable (tested by looking MBean attributes).
As for ConfigurationProvider, I am not sure what's the best way to integrate with current implement, 
the quickest way would be add a reload method to clean loaded configurations field in ConfigurationProviderImpl or maybe proxy-based like processor is preferred, any suggestion ?
                
> Add reloadability to mail processors
> ------------------------------------
>
>                 Key: JAMES-1357
>                 URL: https://issues.apache.org/jira/browse/JAMES-1357
>             Project: JAMES Server
>          Issue Type: New Feature
>          Components: SpoolManager & Processors
>            Reporter: TzeKai Lee
>         Attachments: reloadable_mail_processor.patch
>
>
> Currently mail processor/matcher/mailet configuration requires a james server restart to load new configuration. It would be nice to using new configuration without server restart.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (JAMES-1357) Add reloadability to mail processors

Posted by "TzeKai Lee (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

TzeKai Lee updated JAMES-1357:
------------------------------

    Attachment: reloadable_mail_processor_v2.patch

This patch should be a usable patch with few changes of spring-server.xml:
change class of mailprocessor to org.apache.james.mailetcontainer.impl.camel.CamelCompositeReloadableProcessor
add
<entry key="org.apache.james:type=component,component=mailetcontainer,name=mailprocessor" value-ref="mailprocessor"/>
<entry key="org.apache.james:type=container,name=configurationprovider" value-ref="configurationprovider"/>
to beans of spring MBean exporter
add
org.apache.james.container.spring.lifecycle.ConfigurationProviderManagementMBean
org.apache.james.mailetcontainer.impl.ReloadableManagementMBean
to managedInterfaces of spring MBean assembler

Invoke reloadConfiguration of configurationprovider with "mailprocessor" then invoke reload of mailprocessor should do the work.
                
> Add reloadability to mail processors
> ------------------------------------
>
>                 Key: JAMES-1357
>                 URL: https://issues.apache.org/jira/browse/JAMES-1357
>             Project: JAMES Server
>          Issue Type: New Feature
>          Components: SpoolManager & Processors
>            Reporter: TzeKai Lee
>         Attachments: reloadable_mail_processor.patch, reloadable_mail_processor_v2.patch
>
>
> Currently mail processor/matcher/mailet configuration requires a james server restart to load new configuration. It would be nice to using new configuration without server restart.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (JAMES-1357) Add reloadability to mail processors

Posted by "Eric Charles (Commented) (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13178892#comment-13178892 ] 

Eric Charles commented on JAMES-1357:
-------------------------------------

Hi Lee,
Thx for the patch. I will review it in the coming days and will provide feedback.
Is it already usable or do you plan to provide an completed version?
Thx,
Eric
                
> Add reloadability to mail processors
> ------------------------------------
>
>                 Key: JAMES-1357
>                 URL: https://issues.apache.org/jira/browse/JAMES-1357
>             Project: JAMES Server
>          Issue Type: New Feature
>          Components: SpoolManager & Processors
>            Reporter: TzeKai Lee
>         Attachments: reloadable_mail_processor.patch
>
>
> Currently mail processor/matcher/mailet configuration requires a james server restart to load new configuration. It would be nice to using new configuration without server restart.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (JAMES-1357) Add reloadability to mail processors

Posted by "TzeKai Lee (Updated) (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

TzeKai Lee updated JAMES-1357:
------------------------------

    Attachment: reloadable_mail_processor.patch

This attachment contains a naive proxy-based implement of reloadable MailProcessor. Lacks corresponding part of ConfigurationProvider though.
                
> Add reloadability to mail processors
> ------------------------------------
>
>                 Key: JAMES-1357
>                 URL: https://issues.apache.org/jira/browse/JAMES-1357
>             Project: JAMES Server
>          Issue Type: New Feature
>          Components: SpoolManager & Processors
>            Reporter: TzeKai Lee
>         Attachments: reloadable_mail_processor.patch
>
>
> Currently mail processor/matcher/mailet configuration requires a james server restart to load new configuration. It would be nice to using new configuration without server restart.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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