You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Tanmay saha (JIRA)" <ji...@apache.org> on 2008/07/14 19:00:32 UTC

[jira] Created: (SYNAPSE-399) JMSUtil.java class does not set all JMS Connection properties specified in axis2.xml

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


[jira] Resolved: (SYNAPSE-399) JMSUtil.java class does not set all JMS Connection properties specified in axis2.xml

Posted by "Asankha C. Perera (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asankha C. Perera resolved SYNAPSE-399.
---------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.2)
                   1.3
         Assignee: Asankha C. Perera

fixed as per suggestion by Tanmay

> 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
>            Assignee: Asankha C. Perera
>             Fix For: 1.3
>
>
> 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


[jira] Commented: (SYNAPSE-399) JMSUtil.java class does not set all JMS Connection properties specified in axis2.xml

Posted by "Asankha C. Perera (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674445#action_12674445 ] 

Asankha C. Perera commented on SYNAPSE-399:
-------------------------------------------

I would suggest that we base Synapse 1.3 on the next Axis2 1.5 release.. I would also like to know the thoughts of the other committers on this.. But there is nothing preventing us from another release over Axis2 1.4.x,..

asankha

> 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
>            Assignee: Asankha C. Perera
>             Fix For: 1.3
>
>
> 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


[jira] Commented: (SYNAPSE-399) JMSUtil.java class does not set all JMS Connection properties specified in axis2.xml

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674543#action_12674543 ] 

Andreas Veithen commented on SYNAPSE-399:
-----------------------------------------

If I remember well, there was a discussion about this and the conclusion was that it would be difficult to release a version based on Axis2 1.4.1, because there is already some code in Synapse that relies on features/fixes/changes in Axis2 1.5. However, at that time the expected release date for 1.5 was in December...

> 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
>            Assignee: Asankha C. Perera
>             Fix For: 1.3
>
>
> 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


[jira] Commented: (SYNAPSE-399) JMSUtil.java class does not set all JMS Connection properties specified in axis2.xml

Posted by "Tanmay saha (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674414#action_12674414 ] 

Tanmay saha commented on SYNAPSE-399:
-------------------------------------

We want use this feature SYNAPSE-399 along with SYNAPSE-369  ( Multiple instances of Synapse instances cannot form a shared subscription group to Sonic MQ ).  Fixes are already in the development tree. When can we expect the next release of Synapse ? We have been waiting for a long time. Please let us know.

-Thanks
Tanmay


> 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
>            Assignee: Asankha C. Perera
>             Fix For: 1.3
>
>
> 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