Re: How do I access the message class name from Simple?

2011-09-27 Thread djakubiec
Ah, thanks for the explanation! I see a JIRA ticket was opened as well, thanks. For those seeking an interim workaround, I added a getType() function to the base class shared by all my JMS messages: public String getType() { return this.getClass().getSimpleName();

How do I access the message class name from Simple?

2011-09-26 Thread djakubiec
Hi, I have JMS topic where I publish a few different types of POJOs. I'm trying to create a log message that prints out the class of each POJO along with the toString() representation. I got the toString() printing, but can't figure out how to get the class name via the Simple syntax. This pres