Class ShareableChannelHandlerFactory

java.lang.Object
org.apache.camel.component.netty.DefaultChannelHandlerFactory
org.apache.camel.component.netty.ShareableChannelHandlerFactory
All Implemented Interfaces:
io.netty.channel.ChannelHandler, ChannelHandlerFactory

public class ShareableChannelHandlerFactory extends DefaultChannelHandlerFactory
A ChannelHandlerFactory returning a shareable ChannelHandler.
  • Constructor Details

    • ShareableChannelHandlerFactory

      public ShareableChannelHandlerFactory(io.netty.channel.ChannelHandler channelHandler)
  • Method Details

    • newChannelHandler

      public io.netty.channel.ChannelHandler newChannelHandler()
      Description copied from interface: ChannelHandlerFactory
      Creates a new ChannelHandler to be used.