Class NettyChannelBufferStreamCacheOnCompletion

  • All Implemented Interfaces:
    org.apache.camel.Ordered, org.apache.camel.spi.Synchronization, org.apache.camel.spi.SynchronizationRouteAware, org.apache.camel.spi.SynchronizationVetoable

    public class NettyChannelBufferStreamCacheOnCompletion
    extends org.apache.camel.support.SynchronizationAdapter
    A Synchronization to handle the lifecycle of the NettyChannelBufferStreamCache so the cache is released when the unit of work of the Exchange is done.
    • Method Detail

      • onDone

        public void onDone​(org.apache.camel.Exchange exchange)
        Overrides:
        onDone in class org.apache.camel.support.SynchronizationAdapter