You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2012/07/09 19:11:35 UTC

[jira] [Resolved] (DIRMINA-890) ProtocolCodecFilter creates multiple decoders per session

     [ https://issues.apache.org/jira/browse/DIRMINA-890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny resolved DIRMINA-890.
---------------------------------------

    Resolution: Not A Problem

Seems like this is more a problem with the way the codec is implemented on the user's side.
                
> ProtocolCodecFilter creates multiple decoders per session
> ---------------------------------------------------------
>
>                 Key: DIRMINA-890
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-890
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.4
>            Reporter: Brian Kramer
>         Attachments: ProtocolCodecFilter.patch, mina-time.zip
>
>
> I have a stateful decoding state that works with input across multiple calls to messageReceived().  It isn't working because each time the ProtocolCodecFilter has messageReceived() called it creates a brand new decoder from the factory.
> Reading through the class it seems to imply that the encoder and decoder should work the same as the encoder out and decoder out by storing them in the session once created.

--
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