james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Charles (JIRA)" <server-...@james.apache.org>
Subject [jira] Commented: (JAMES-1054) Split spring-beans.xml for more granular documentation and instanciation
Date Fri, 01 Oct 2010 07:49:32 GMT

    [ https://issues.apache.org/jira/browse/JAMES-1054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916815#action_12916815

Eric Charles commented on JAMES-1054:

It's not about restarting components, but a bit linked to https://issues.apache.org/jira/browse/JAMES-1055
(the comand line interface).

The james script is only used to start/stop.

I was thinking to use cases where you have a running james server, and still want to invoke
james script for stuff such as:
- mailbox imports (https://issues.apache.org/jira/browse/JAMES-1052)
- anything else that goes on report generation,...

Currently, the James Main is 
        final JamesServerApplicationContext context = new JamesServerApplicationContext(new
String[] { "spring-beans.xml" });
All beans will be loaded, among other the server sockets.
So with this monolithic file, we have no access to mailbox when other instance is running.

> Split spring-beans.xml for more granular documentation and instanciation
> ------------------------------------------------------------------------
>                 Key: JAMES-1054
>                 URL: https://issues.apache.org/jira/browse/JAMES-1054
>             Project: JAMES Server
>          Issue Type: Improvement
>            Reporter: Eric Charles
> Current spring-beans.xml is huge and undocumented.
> We could split it and try to give James Main the ability to load all or part of the beans.
> For example, when netty sockets are already started, for maintenance tasks, the Main
should not try to startt the netty sockets.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

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

View raw message