org.springframework.messaging.support

Class ChannelInterceptorAdapter

  • java.lang.Object
    • org.springframework.messaging.support.ChannelInterceptorAdapter
  • All Implemented Interfaces:
    ChannelInterceptor

    Deprecated. 
    as of 5.0.7 ChannelInterceptor has default methods (made possible by a Java 8 baseline) and can be implemented directly without the need for this no-op adapter

    @Deprecated
    public abstract class ChannelInterceptorAdapter
    extends java.lang.Object
    implements ChannelInterceptor
    A ChannelInterceptor base class with empty method implementations as a convenience.
    Since:
    4.0
    Author:
    Mark Fisher, Rossen Stoyanchev
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method and Description
      void afterReceiveCompletion(Message<?> message, MessageChannel channel, java.lang.Exception ex)
      Deprecated. 
      Invoked after the completion of a receive regardless of any exception that have been raised thus allowing for proper resource cleanup.
      void afterSendCompletion(Message<?> message, MessageChannel channel, boolean sent, java.lang.Exception ex)
      Deprecated. 
      Invoked after the completion of a send regardless of any exception that have been raised thus allowing for proper resource cleanup.
      Message<?> postReceive(Message<?> message, MessageChannel channel)
      Deprecated. 
      Invoked immediately after a Message has been retrieved but before it is returned to the caller.
      void postSend(Message<?> message, MessageChannel channel, boolean sent)
      Deprecated. 
      Invoked immediately after the send invocation.
      boolean preReceive(MessageChannel channel)
      Deprecated. 
      Invoked as soon as receive is called and before a Message is actually retrieved.
      Message<?> preSend(Message<?> message, MessageChannel channel)
      Deprecated. 
      Invoked before the Message is actually sent to the channel.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait