This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

Logging Channel Adapter - How to get channel name?

Nov 24th, 2010, 07:08 AM

I've setup a global channel interceptor that sends all messages to a logging channel. I then am using the logging channel adapter to log all messages that are coming through my system. This is nice for message debugging as it allows me to see the message payload and their headers as they pass through my defined workflow.

The logs produced from this logging channel adapter don't include the channel where the message was encountered. Is there a way to log not only the full message but also the channel where message was received?