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 "im-james (JIRA)" <se...@james.apache.org> on 2007/01/02 08:39:27 UTC
[jira] Commented: (JAMES-750) Refactor AbstractJamesHandler and
SMTPHandler/Handlerapi to be line-push-based (isolate IO layer)
[ http://issues.apache.org/jira/browse/JAMES-750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12461679 ]
im-james commented on JAMES-750:
--------------------------------
> Not everyone agreed switching to MINA-only (and require java5 for SSL usage)
mina 1.0.x is the last release of MINA that doesn't require java 1.5.
Unlike other projects, mina is a top level project and will not disappear.
> Refactor AbstractJamesHandler and SMTPHandler/Handlerapi to be line-push-based (isolate IO layer)
> -------------------------------------------------------------------------------------------------
>
> Key: JAMES-750
> URL: http://issues.apache.org/jira/browse/JAMES-750
> Project: James
> Issue Type: Improvement
> Components: James Core, SMTPServer
> Reporter: Stefano Bagnara
> Assigned To: Norman Maurer
> Fix For: Next Major
>
> Attachments: handlerapi-asynch-2nd.diff, handlerapi-asynch-3rd.diff, handlerapi-asynch.diff
>
>
> From past discussions we decided that we are not ready to switch to MINA right now, but we want handlerapi-v2 to be easily ported to MINA and other asynchronous IO frameworks.
> Not everyone agreed switching to MINA-only (and require java5 for SSL usage) and Noel made a strawman implementation of a push based/line based processor.
> This is my attempt to bring this thing to James.
> This is only a first hack to make it working because DataCmdHandler will need almost a full rewrite. Now I used CRLFDelimitedByteBuffer from Noel and I updated the main code to introduce a lineHandlers stack and a LineHandler interface (LineHandler is my name for Noel IOHandler, I preferred to use LineHandler to avoid reusing a mina name with a different behaviour and avoid confusion).
> SMTPServerTest pass, but a lot of code have to be fixed/improved in order to apply this to trunk.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.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