[jboss-user] [JBoss Messaging] New message: "Re: Receiving message instanceof org.jboss.jms.message.ObjectMessageProxy in MDB"

Peter Johnson do-not-reply at jboss.com
Wed Mar 3 13:27:15 EST 2010

User development,

A new message was posted in the thread "Receiving message instanceof org.jboss.jms.message.ObjectMessageProxy in MDB":


Author  : Peter Johnson
Profile : http://community.jboss.org/people/peterj

javax.jms.ObjectMessage is an interface. *org.jboss.jms.message.ObjectMessageProxy*  implements that interface. Thus you can cast the received object to javax.jms.ObjectMessage without any problems.
By the way, if you ran your same code with another messaging system and looked at the type, you would find that the type is specific to that messaging system. And you will find that that type also implements javax.jms.ObjectMessage.


To reply to this message visit the message page: http://community.jboss.org/message/529710#529710

More information about the jboss-user mailing list