servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r749571 - /servicemix/smx4/nmr/trunk/jbi/cluster/requestor/src/main/java/org/apache/servicemix/jbi/cluster/requestor/AbstractJmsRequestorPool.java
Date Tue, 03 Mar 2009 09:41:05 GMT
Author: gnodet
Date: Tue Mar  3 09:41:05 2009
New Revision: 749571

URL: http://svn.apache.org/viewvc?rev=749571&view=rev
Log:
Avoid possible NPE

Modified:
    servicemix/smx4/nmr/trunk/jbi/cluster/requestor/src/main/java/org/apache/servicemix/jbi/cluster/requestor/AbstractJmsRequestorPool.java

Modified: servicemix/smx4/nmr/trunk/jbi/cluster/requestor/src/main/java/org/apache/servicemix/jbi/cluster/requestor/AbstractJmsRequestorPool.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/nmr/trunk/jbi/cluster/requestor/src/main/java/org/apache/servicemix/jbi/cluster/requestor/AbstractJmsRequestorPool.java?rev=749571&r1=749570&r2=749571&view=diff
==============================================================================
--- servicemix/smx4/nmr/trunk/jbi/cluster/requestor/src/main/java/org/apache/servicemix/jbi/cluster/requestor/AbstractJmsRequestorPool.java
(original)
+++ servicemix/smx4/nmr/trunk/jbi/cluster/requestor/src/main/java/org/apache/servicemix/jbi/cluster/requestor/AbstractJmsRequestorPool.java
Tue Mar  3 09:41:05 2009
@@ -201,7 +201,7 @@
                 StringBuffer msg = new StringBuffer();
                 msg.append("Setup of JMS message listener invoker failed for destination
'");
                 msg.append(getDestinationDescription()).append("' - trying to recover. Cause:
");
-                msg.append(ex instanceof JMSException ? JmsUtils.buildExceptionMessage((JMSException)
ex) : ex.getMessage());
+                msg.append(ex instanceof JMSException ? JmsUtils.buildExceptionMessage(fixForSpring5470((JMSException)
ex)) : ex.getMessage());
                 if (logger.isDebugEnabled()) {
                     logger.info(msg, ex);
                 }



Mime
View raw message