I am trying to forward a message to a specific filter or handler (witch
ever, I don't really mind at the moment) according to the message type.
How should I be doing that using mina. Currently I am using a
DemuxingProtocolCodecFactory to decode my received messages and it does
the job perfectly. I would like to add a second level of processing
(transform my messages again) according to the message type which would
output a common message result type, which would then be processed. I
know my explanations are not clear :.) My first tought would have been
to use a DemuxingIoHandler and an IoHandlerChain but I don't know how to
hook a DemuxingIoHandler to an IoHandlerChain since the IoHandlerChain
doesn't take IoHandler but IoHandlerCommands. Would any of you have an
idea?
Thanks,
Simon
Here's a diagram of my situation:
/transform b1 - transform b2\
msg - - transform 3
\transform a1 - transform a2/