Return-Path: Delivered-To: apmail-ws-commons-dev-archive@minotaur.apache.org Received: (qmail 1201 invoked from network); 31 Jul 2009 14:20:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 31 Jul 2009 14:20:18 -0000 Received: (qmail 92062 invoked by uid 500); 31 Jul 2009 14:20:19 -0000 Delivered-To: apmail-ws-commons-dev-archive@ws.apache.org Received: (qmail 91987 invoked by uid 500); 31 Jul 2009 14:20:19 -0000 Mailing-List: contact commons-dev-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: commons-dev@ws.apache.org Delivered-To: mailing list commons-dev@ws.apache.org Received: (qmail 91976 invoked by uid 99); 31 Jul 2009 14:20:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Jul 2009 14:20:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Jul 2009 14:20:15 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id D64C4238888F; Fri, 31 Jul 2009 14:19:54 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commons-dev@ws.apache.org From: senaka@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090731141954.D64C4238888F@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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) {