ws-commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sen...@apache.org
Subject svn commit: r799620 - /webservices/commons/trunk/modules/transport/modules/jms/src/main/java/org/apache/axis2/transport/jms/JMSUtils.java
Date Fri, 31 Jul 2009 14:19:54 GMT
Author: senaka
Date: Fri Jul 31 14:19:54 2009
New Revision: 799620

URL: http://svn.apache.org/viewvc?rev=799620&view=rev
Log:
Fixing JIRA Issue WSCOMMONS-493. Thanks Krishna.

Modified:
    webservices/commons/trunk/modules/transport/modules/jms/src/main/java/org/apache/axis2/transport/jms/JMSUtils.java

Modified: webservices/commons/trunk/modules/transport/modules/jms/src/main/java/org/apache/axis2/transport/jms/JMSUtils.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/transport/modules/jms/src/main/java/org/apache/axis2/transport/jms/JMSUtils.java?rev=799620&r1=799619&r2=799620&view=diff
==============================================================================
--- webservices/commons/trunk/modules/transport/modules/jms/src/main/java/org/apache/axis2/transport/jms/JMSUtils.java
(original)
+++ webservices/commons/trunk/modules/transport/modules/jms/src/main/java/org/apache/axis2/transport/jms/JMSUtils.java
Fri Jul 31 14:19:54 2009
@@ -557,9 +557,9 @@
             QueueConnectionFactory qConFac = null;
             TopicConnectionFactory tConFac = null;
             if (isQueue) {
-                tConFac = (TopicConnectionFactory) conFac;
-            } else {
                 qConFac = (QueueConnectionFactory) conFac;
+            } else {
+                tConFac = (TopicConnectionFactory) conFac;
             }
 
             if (user != null && pass != null) {



Mime
View raw message