MessageProducer.send(Destination, Message) throws UnsupportedOperationException.
--------------------------------------------------------------------------------
Key: JBPM-1107
URL:
http://jira.jboss.com/jira/browse/JBPM-1107
Project: JBoss jBPM
Issue Type: Bug
Components: Core Engine
Affects Versions: jBPM jPDL 3.2.2
Environment: Glassfish V2
Reporter: Alexey Kostylev
Assigned To: Tom Baeyens
When deploying on Glassfish V2 server JmsMessageServiceImpl throws an Exception.
Due to the JMS API docs
(
http://java.sun.com/j2ee/1.4/docs/api/javax/jms/MessageProducer.html#send...
this is expected behaviour:
...
UnsupportedOperationException - if a client uses this method with a MessageProducer that
specified a destination at creation time
...
If change
getMessageProducer().send(destination, message);
to
getMessageProducer().send(message);
then all is working.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira