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.


HTH
/Niklas

Reply via email to