users@glassfish.java.net

Re: Async receiving ObjectMessage

From: <glassfish_at_javadesktop.org>
Date: Mon, 05 Oct 2009 09:23:45 PDT

The error means that the message on the queue is a javax.jms.Message, not an javax.jms.ObjectMessage.

Check the code you're using to send the message to the queue. Are you passing in an ObjectMessage?

Nigel
[Message sent by forum member 'nigeldeakin' (nigel.deakin_at_sun.com)]

http://forums.java.net/jive/thread.jspa?messageID=366855