synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tanmay saha (JIRA)" <j...@apache.org>
Subject [jira] Created: (SYNAPSE-399) JMSUtil.java class does not set all JMS Connection properties specified in axis2.xml
Date Mon, 14 Jul 2008 17:00:32 GMT
JMSUtil.java class does not set all JMS Connection properties specified in axis2.xml
------------------------------------------------------------------------------------

                 Key: SYNAPSE-399
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-399
             Project: Synapse
          Issue Type: Bug
         Environment: Windows XP, JDK1.5.0_15
            Reporter: Tanmay saha
             Fix For: 1.2


JMSUtil.java in the JMS transport module does set all JMS Connection properties specified
in axis2.xml. setConnectionFactoryParameters() method of JMSUtil.java class sets only the
standard JMS Connection properties like Initial Context Factory, Provider URL, User Principal
and Credentials. It ignores or does not set any JMS vendor specific connection properties
.

Proposed Fix: 

Add the following "else" condition at the end of setConnectionFactoryParameters() in JMSUtil.java
class

else
 {
      jmsConFactory.addJNDIContextProperty( (String)p.getName(), (String) p.getValue());
 }

This will add any other connection properties to JNDIConnectionFactory. I have made this change
in my source and tested . It is setting 
<parameter name="com.sonicsw.jndi.mfcontext.domain">dev3Domain</parameter> specified
in axis2.xml and
working fine with my Sonic MQ dev3Domain

-Thanks
tanmay


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Mime
View raw message