Skip to content

Latest commit

 

History

History
26 lines (14 loc) · 1012 Bytes

File metadata and controls

26 lines (14 loc) · 1012 Bytes

Log Consumer

A consumer that allows you to log the data The consumer uses the LoggingMessageHandler from Spring Integration.

Beans for injection

You can import LogConsumerConfiguration in the application and then inject the following bean.

Consumer<Message<?>> logConsumer

You can use logConsumer as a qualifier when injecting.

Configuration Options

All configuration properties are prefixed with log.

For more information on the various options available, please see LogConsumerProperties.

Tests

See this test suite for the various ways, this consumer is used.

Other usage

See this README where this consumer is used to create a Spring Cloud Stream application where it makes a Log sink.