It sounds like a bug of Netty. I just fill a JIRA[1] and will commit quick fix for it shortly.
[1]https://issues.apache.org/jira/browse/CAMEL-7379 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On April 20, 2014 at 5:11:23 AM, Mengchang ([email protected]) wrote: > Hi, > > While playing with camel, found out, looks to me like a bug, when have more > than one NettyProducer in JVM, if I want to stop one of them, it will end up > close all the channels belong to other producer(s). After looking into the > source code, found the ALL_CHANNELS in the class NettyProducer is declared a > static. I think it should be a instance variable rather than a class > variable. > > Thanks. > Mengchang > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/NettyProducer-stop-will-close-all-channels-belong-to-other-NettyProducer-tp5750374.html > > Sent from the Camel Development mailing list archive at Nabble.com. >
