Heyo,

we have a problem in using the ProtocolCodecFilter class. If anything in
messageReceived goes wrong mina creates a ProtocolDecoderException. If our
tool is not able to ascertain a readable error message we simply log the
exception stacktrace and all. In minas case this means that mina tries to
write the whole hex dump to the log, which can take forever if the message
is very large.

For now we circumvent this by using a changed version of
ProtocolCodecFilterthat only adds the first n bytes to the exception, but
this is kind of messy.

Is there a better way to deal with that?

Kindest regards,
Manuel Hegner
------------------------------
<http://bakdata.com> *Manuel Hegner*
Data Engineer
📞 +49 30 3406 068 – 47 <+4930340606847>
📧 [email protected] bakdata GmbH
Falckensteinstraße 24
D-10997 Berlin
Geschäftsführer: Alexander Albrecht, Christoph Böhm, Frank Kaufer
Sitz Berlin, Amtsgericht Berlin HRB 174303

Reply via email to