This content has been marked as final.
Show 2 replies
-
1. Re: Casting SpyTextMessage to TextMessage
b.eckenfels Nov 2, 2010 11:57 AM (in response to swwyatt0)I can think of two possible problems. One is you import declarations, that you actually use the wrong class/interface. The other problem could be a class loader problem. When the MQ classes are in a different classloader than the JMS API. Are you sure it is a SpyTextMessage?
-
2. Re: Casting SpyTextMessage to TextMessage
swwyatt0 Nov 2, 2010 2:02 PM (in response to b.eckenfels)Thanks Bernd, you were correct. I had a geronimo-jms jar in a war.