You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Maarten Bosteels (JIRA)" <ji...@apache.org> on 2007/09/28 22:04:50 UTC

[jira] Commented: (DIRMINA-447) Allow adding more than one IoFilters of the same type.

    [ https://issues.apache.org/jira/browse/DIRMINA-447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12531139 ] 

Maarten Bosteels commented on DIRMINA-447:
------------------------------------------

related discussion on the mailing-list:
http://www.nabble.com/Adding-more-than-one-filter-of-the-same-type.-tf3644119s16868.html#a10177107


> Allow adding more than one IoFilters of the same type.
> ------------------------------------------------------
>
>                 Key: DIRMINA-447
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-447
>             Project: MINA
>          Issue Type: Improvement
>          Components: Core, Filter
>            Reporter: Trustin Lee
>             Fix For: 2.0.0-M1
>
>
> Currently, many existing filters such as ProtocolCodecFilter can't be added more than once to the same filter chain.  It is because filters usually store its state information as a session attribute; adding more than one filters of the same type will mess their internal state.
> Therefore, users can't do something more complex like multi-layered protocol implementation.
> To resolve this issue, all filter implementations must create its session attribute key dynamically, instead of using a static key.

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