Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
Trunk
-
None
-
Windows XP
James trunk rev. 898686
Description
Hi all,
I wanted to use the SMTP Async I/O, so I commented the normal smtp stuff and uncommented "org.apache.james.smtpserver.mina.AsyncSMTPServer" in spring-beans.xml
Well, start-up fails.
I pin-pointed the issue to AsyncSMTPServer.java to the method prepareHandlerChain() (line 197)
I've attached a patch to resolve this issue, however I've no clue if this is the correct way
----------------------------------------------------------------------------
-
-
- Eclipse Workspace Patch 1.0
#P james-server-smtpserver-function
Index: src/main/java/org/apache/james/smtpserver/mina/AsyncSMTPServer.java
===================================================================
- src/main/java/org/apache/james/smtpserver/mina/AsyncSMTPServer.java (revision 898686)
+++ src/main/java/org/apache/james/smtpserver/mina/AsyncSMTPServer.java (working copy)
@@ -194,7 +194,7 @@
if (handlerchainConfig.getString("[@coreHandlersPackage]") == null)
handlerchainConfig.addProperty("[@coreHandlersPackage]", CoreCmdHandlerLoader.class.getName());
- Eclipse Workspace Patch 1.0
-
- handlerChain = getLoader().load(ProtocolHandlerChainImpl.class, getLogger(), handlerConfiguration);
+ handlerChain = getLoader().load(ProtocolHandlerChainImpl.class, getLogger(), handlerchainConfig);
handlerChain.configure(handlerchainConfig);
}
---------------------------------------------------------------------------