Hello,

Is there a way to destroy the Netty (Boss or Worker) thread pools when using 
BluePrint xml?
I am trying this:

<bean id="nettySharedWorkerPool" 
        class="io.netty.channel.EventLoopGroup"
        factory-ref="nettyWorkerPoolBuilder"
        factory-method="build" 
        destroy-method="shutdownGracefully">
</bean>

But Blueprint does not like the shutdownGracefully method because it is not a 
void method (it returns Future<?>).
What are other people doing in this case?  

(I am using Camel 2.17.0)

Best regards,
Alex soto



Reply via email to