I am using <logging-channel-adapter logger-name="feedlogger" level="INFO" log-full-message="true"/>
to log full messages using log4j framework.
Is there any way to log the 'id' of each and every message channel, used in spring intergration flow, in the log file?
Thanks,
Mitesh
The question is not clear. Channels are beans and if you would like to get their ids logged, there is just enough to turn on a
info
for theorg.springframework
and bean ids will be logged on the application start up. In addition Spring Integration with thedebug
for theorg.springframework.integration
shows log messages about subscribers on the channel during the same start up phase.However if your question would sound like this:
Then you need to take a look into the Message History EI pattern implementation.