users@glassfish.java.net

JMS Implementation - UnsupportedOperationException

From: <glassfish_at_javadesktop.org>
Date: Thu, 15 Feb 2007 01:44:34 PST

javax.jms.QueueSender sender = session.createSender(queue);
javax.jms.Message jmsmessage = session.createTextMessage(message);
[i][b]sender.send(jmsmessage);[/b][/i]

When the execution reaches sender.sendMessage, I get an UnsupportedOperationException. Any particular reason?

Environment: GlassFish Version is
Sun Java System Application Server Platform Edition 9.0_01 (build b14)
[Message sent by forum member 'manikantaniyer' (manikantaniyer)]

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