[jboss-user] [JBoss Messaging] - Re: ClassCastException when casting ObjectMessage object

mvecera@redhat.com do-not-reply at jboss.com
Tue Feb 3 04:36:46 EST 2009


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



More information about the jboss-user mailing list