Class CustomCorrelationManager

  • All Implemented Interfaces:
    org.apache.camel.component.netty.NettyCamelStateCorrelationManager

    public class CustomCorrelationManager
    extends Object
    implements org.apache.camel.component.netty.NettyCamelStateCorrelationManager
    • Constructor Detail

      • CustomCorrelationManager

        public CustomCorrelationManager()
    • Method Detail

      • putState

        public void putState​(io.netty.channel.Channel channel,
                             org.apache.camel.component.netty.NettyCamelState state)
        Specified by:
        putState in interface org.apache.camel.component.netty.NettyCamelStateCorrelationManager
      • removeState

        public void removeState​(io.netty.channel.ChannelHandlerContext ctx,
                                io.netty.channel.Channel channel)
        Specified by:
        removeState in interface org.apache.camel.component.netty.NettyCamelStateCorrelationManager
      • getState

        public org.apache.camel.component.netty.NettyCamelState getState​(io.netty.channel.ChannelHandlerContext ctx,
                                                                         io.netty.channel.Channel channel,
                                                                         Object msg)
        Specified by:
        getState in interface org.apache.camel.component.netty.NettyCamelStateCorrelationManager
      • getState

        public org.apache.camel.component.netty.NettyCamelState getState​(io.netty.channel.ChannelHandlerContext ctx,
                                                                         io.netty.channel.Channel channel,
                                                                         Throwable cause)
        Specified by:
        getState in interface org.apache.camel.component.netty.NettyCamelStateCorrelationManager