[jboss-cvs] JBossAS SVN: r82964 - branches/JBPAPP_4_2_0_GA_CP/connector/src/main/org/jboss/resource/adapter/jms.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Jan 15 18:33:35 EST 2009
Author: jhowell at redhat.com
Date: 2009-01-15 18:33:35 -0500 (Thu, 15 Jan 2009)
New Revision: 82964
Modified:
branches/JBPAPP_4_2_0_GA_CP/connector/src/main/org/jboss/resource/adapter/jms/JmsSessionFactoryImpl.java
Log:
[JBPAPP-1464] - Set the defaults in the connection request info before the connection is connection is created.
Modified: branches/JBPAPP_4_2_0_GA_CP/connector/src/main/org/jboss/resource/adapter/jms/JmsSessionFactoryImpl.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/connector/src/main/org/jboss/resource/adapter/jms/JmsSessionFactoryImpl.java 2009-01-15 23:28:54 UTC (rev 82963)
+++ branches/JBPAPP_4_2_0_GA_CP/connector/src/main/org/jboss/resource/adapter/jms/JmsSessionFactoryImpl.java 2009-01-15 23:33:35 UTC (rev 82964)
@@ -384,7 +384,8 @@
info.setUserName(userName);
info.setPassword(password);
info.setClientID(clientID);
-
+ //JBPAPP-1464 - set defaults before it's too late
+ info.setDefaults(mcf.getProperties());
if (trace)
log.trace("Allocating session for " + this + " with request info=" + info);
JmsSession session = (JmsSession) cm.allocateConnection(mcf, info);
More information about the jboss-cvs-commits
mailing list