cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cschnei...@apache.org
Subject svn commit: r1065594 - /cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSConduit.java
Date Mon, 31 Jan 2011 13:13:28 GMT
Author: cschneider
Date: Mon Jan 31 13:13:28 2011
New Revision: 1065594

URL: http://svn.apache.org/viewvc?rev=1065594&view=rev
Log:
CXF-3230 Only log exception instead of rethrowing to work around problem with hornetq

Modified:
    cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSConduit.java

Modified: cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSConduit.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSConduit.java?rev=1065594&r1=1065593&r2=1065594&view=diff
==============================================================================
--- cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSConduit.java
(original)
+++ cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSConduit.java
Mon Jan 31 13:13:28 2011
@@ -246,7 +246,8 @@ public class JMSConduit extends Abstract
                         try {
                             ((TemporaryQueue)replyToDestination).delete();
                         } catch (JMSException e) {
-                            throw new RuntimeException("Unable to remove temporary queue",
e);
+                            // Only log the exception as the exchange should be able to proceed
+                            LOG.log(Level.WARNING, "Unable to remove temporary queue: " +
e.getMessage(), e);
                         }
                     }
                 }



Mime
View raw message