On May 15, 2006, at 2:51 PM, Michael Bauroth wrote:
Is it right, that when I use a ThreadPoolFilter before my codecs and return then over a CodecFilterFactory always the same codec instance (Singleton), that I kill the advantage of the ThreadPool, because I slow down the processing of the data because tunneling all the data through the same codec instance?Sorry for that question, but I can't imagine the detailed data flow.
Are you doing any synchronization in your singleton codec? If not, no worries.If you are, remove it, and have your ProtocolCodecFactory return a new instance each time.
-pete -- [EMAIL PROTECTED] - http://fotap.org/~osi
smime.p7s
Description: S/MIME cryptographic signature
