@Configuration @EnableConfigurationProperties(value=LogConsumerProperties.class) public class LogConsumerConfiguration extends Object
Consumer which logs incoming data.
For the logging logic a Spring Integration LoggingHandler
is used.
If incoming payload is a byte[] and incoming message contentType header is text-compatible
(e.g. application/json), it is converted into a String.
Otherwise the payload is passed to logger as is.Copyright © 2020. All rights reserved.