Class LoggingHandler

All Implemented Interfaces:
org.reactivestreams.Subscriber<Message<?>>, Aware, BeanFactoryAware, BeanNameAware, DisposableBean, InitializingBean, ApplicationContextAware, Ordered, ExpressionCapable, Orderable, IntegrationPattern, NamedComponent, IntegrationManagement, TrackableComponent, MessageHandler, reactor.core.CoreSubscriber<Message<?>>

public class LoggingHandler extends AbstractMessageHandler
MessageHandler implementation that simply logs the Message or its payload depending on the value of the 'shouldLogFullMessage' or SpEL 'logExpression' property. If logging the payload, and it is assignable to Throwable, it will log the stack trace. By default, it will log the payload only.
Since:
1.0.1
Author:
Mark Fisher, Gary Russell, Artem Bilan, Andriy Kryvtsun