Class SlfHandler

All Implemented Interfaces:
org.springframework.integration.handler.MessageProcessor<org.springframework.messaging.Message<?>>

public class SlfHandler extends MessageConsumer
API for logging in flows. It uses given slf4j logger instance so it is possible to configure logging more effective way.
 use form:
   .handler(SlfHandler.of(lg -> lg.debug(log, "message {}", lg.message())))
 
Author:
antons