activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r816510 - /activemq/branches/activemq-5.3/activemq-camel/src/main/java/org/apache/activemq/camel/component/ActiveMQConfiguration.java
Date Fri, 18 Sep 2009 07:56:18 GMT
Author: gnodet
Date: Fri Sep 18 07:56:17 2009
New Revision: 816510

URL: http://svn.apache.org/viewvc?rev=816510&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/branches/activemq-5.3/activemq-camel/src/main/java/org/apache/activemq/camel/component/ActiveMQConfiguration.java

Modified: activemq/branches/activemq-5.3/activemq-camel/src/main/java/org/apache/activemq/camel/component/ActiveMQConfiguration.java
URL: http://svn.apache.org/viewvc/activemq/branches/activemq-5.3/activemq-camel/src/main/java/org/apache/activemq/camel/component/ActiveMQConfiguration.java?rev=816510&r1=816509&r2=816510&view=diff
==============================================================================
--- activemq/branches/activemq-5.3/activemq-camel/src/main/java/org/apache/activemq/camel/component/ActiveMQConfiguration.java
(original)
+++ activemq/branches/activemq-5.3/activemq-camel/src/main/java/org/apache/activemq/camel/component/ActiveMQConfiguration.java
Fri Sep 18 07:56:17 2009
@@ -185,6 +185,8 @@
                     throw e1;
                 }
             }
+        } else {
+            return loader.loadClass(name);
         }
         return null;
     }



Mime
View raw message