Put that code before any typecasting and as I wrote - do not change message in the second line for anything else. The code can be placed immediately after if (message instanceof ObjectMessage)...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4206465#4206465 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4206465 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user