activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r816509 - /activemq/trunk/activemq-camel/src/main/java/org/apache/activemq/camel/component/ActiveMQConfiguration.java
Date Fri, 18 Sep 2009 07:53:31 GMT
Author: gnodet
Date: Fri Sep 18 07:53:31 2009
New Revision: 816509

URL: http://svn.apache.org/viewvc?rev=816509&view=rev
Log:
AMQ-2398: org.apache.activemq.camel.component.ActiveMQConfiguration uses the TCCL to load
some classes which usually don't work in OSGi

Modified:
    activemq/trunk/activemq-camel/src/main/java/org/apache/activemq/camel/component/ActiveMQConfiguration.java

Modified: activemq/trunk/activemq-camel/src/main/java/org/apache/activemq/camel/component/ActiveMQConfiguration.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-camel/src/main/java/org/apache/activemq/camel/component/ActiveMQConfiguration.java?rev=816509&r1=816508&r2=816509&view=diff
==============================================================================
--- activemq/trunk/activemq-camel/src/main/java/org/apache/activemq/camel/component/ActiveMQConfiguration.java
(original)
+++ activemq/trunk/activemq-camel/src/main/java/org/apache/activemq/camel/component/ActiveMQConfiguration.java
Fri Sep 18 07:53:31 2009
@@ -185,7 +185,9 @@
                     throw e1;
                 }
             }
-        }
+        } else {
+            return loader.loadClass(name);
+}
         return null;
     }
 }



Mime
View raw message