On 10/23/07, Paul Vitic <[EMAIL PROTECTED]> wrote: > Niklas Therning wrote: > > > > Paul Vitic wrote: > >> I have just realised that it is not allowed to implement more than one > >> ProtocolCodecFilter in a filter chain. So what is the best way to decode > >> a > >> message which has multiple protocol layers. I.e. a proprietary > >> application > >> level protocol enveloped inside another proprietary application level > >> protocol enveloped inside http. The tricky part is that the messages > >> sometimes come from an http client in this way and sometimes come from a > >> TCP > >> client only enveloped by the last layer of proprietary application level > >> protocol. Should I extend the sample http request decoder? > >> > > IIRC this has been fixed in trunk. What version of MINA are you using? > > If you try out the latest version from Subversion you should be able to > > add more than one ProtocolCodecFilter to your chain, if I'm not mistaken. >> > I am using version 1.1.3 and I receive this error. Should i go to a higher > version?
This issue won't be fixed in 1.x. We already have fixed it in trunk (2.0), but we won't backport it for a backward compatibility reason. Please use the workaround I suggested meanwhile. HTH, Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP Key ID: 0x0255ECA6
