[
http://jira.jboss.com/jira/browse/JBESB-1519?page=all ]
Mark Little closed JBESB-1519.
------------------------------
Resolution: Won't Fix
Will be fixed naturally in 5.0 work.
NotifyJMS creates sessions array but never uses anything other than
element 0
-----------------------------------------------------------------------------
Key: JBESB-1519
URL:
http://jira.jboss.com/jira/browse/JBESB-1519
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Rosetta
Affects Versions: 4.2.1
Reporter: Mark Little
In the code ...
/**
* The javax.jms.Session instance used to talk to JMS
*/
protected Session[] sessions;
then ...
if(obj == null) {
// create a null payload message...
jmsMessage = sessions[0].createObjectMessage(null);
} else if(obj instanceof byte[]) {
jmsMessage = sessions[0].createObjectMessage((byte[]) obj);
but ...
final int nrQueuesOrTopics = configTrees.length;
producers = new MessageProducer[nrQueuesOrTopics];
connectionPools = new JmsConnectionPool[nrQueuesOrTopics];
sessions = new Session[nrQueuesOrTopics];
--
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