org.springframework.integration.bus
Class DefaultErrorChannel.ErrorLoggingInterceptor

java.lang.Object
  extended by org.springframework.integration.channel.interceptor.ChannelInterceptorAdapter
      extended by org.springframework.integration.bus.DefaultErrorChannel.ErrorLoggingInterceptor
All Implemented Interfaces:
ChannelInterceptor
Enclosing class:
DefaultErrorChannel

private class DefaultErrorChannel.ErrorLoggingInterceptor
extends ChannelInterceptorAdapter


Constructor Summary
private DefaultErrorChannel.ErrorLoggingInterceptor()
           
 
Method Summary
 void postSend(Message<?> message, MessageChannel channel, boolean sent)
           
 Message<?> preSend(Message<?> message, MessageChannel channel)
          Even if the error channel has no subscribers, errors are at least visible at debug level.
 
Methods inherited from class org.springframework.integration.channel.interceptor.ChannelInterceptorAdapter
postReceive, preReceive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultErrorChannel.ErrorLoggingInterceptor

private DefaultErrorChannel.ErrorLoggingInterceptor()
Method Detail

postSend

public void postSend(Message<?> message,
                     MessageChannel channel,
                     boolean sent)
Specified by:
postSend in interface ChannelInterceptor
Overrides:
postSend in class ChannelInterceptorAdapter

preSend

public Message<?> preSend(Message<?> message,
                          MessageChannel channel)
Even if the error channel has no subscribers, errors are at least visible at debug level.

Specified by:
preSend in interface ChannelInterceptor
Overrides:
preSend in class ChannelInterceptorAdapter