I am currently using Log4j for logging messages in my application. I am setting a few properties in MDC and currently using FileAppender with my own layout (that extends XmlLayout). Everything seems to be working fine.
I want to switch to JMSAppender. When I do this, I see that the JMSAppender puts an ObjectMessage of type 'LoggingEvent' and I am able to retrieve only the log message part of it. How do I get hold of MDC properties that I had set in the producer application?
Thanks MMH