camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r950059 - in /camel/trunk/components/camel-blueprint: pom.xml src/main/java/org/apache/camel/blueprint/handler/CamelNamespaceHandler.java
Date Tue, 01 Jun 2010 13:05:21 GMT
Author: gnodet
Date: Tue Jun  1 13:05:21 2010
New Revision: 950059

URL: http://svn.apache.org/viewvc?rev=950059&view=rev
Log:
[blueprint] fix camel-blueprint bundle and namespace

Modified:
    camel/trunk/components/camel-blueprint/pom.xml
    camel/trunk/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/handler/CamelNamespaceHandler.java

Modified: camel/trunk/components/camel-blueprint/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-blueprint/pom.xml?rev=950059&r1=950058&r2=950059&view=diff
==============================================================================
--- camel/trunk/components/camel-blueprint/pom.xml (original)
+++ camel/trunk/components/camel-blueprint/pom.xml Tue Jun  1 13:05:21 2010
@@ -44,6 +44,9 @@
 			org.apache.camel.core.osgi*,
 			org.apache.camel.core.xml*
 		</camel.osgi.private.pkg>
+        <camel.osgi.activator>
+            org.apache.camel.core.osgi.Activator
+        </camel.osgi.activator>
     </properties>
 
     <dependencies>

Modified: camel/trunk/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/handler/CamelNamespaceHandler.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/handler/CamelNamespaceHandler.java?rev=950059&r1=950058&r2=950059&view=diff
==============================================================================
--- camel/trunk/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/handler/CamelNamespaceHandler.java
(original)
+++ camel/trunk/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/handler/CamelNamespaceHandler.java
Tue Jun  1 13:05:21 2010
@@ -106,7 +106,7 @@ public class CamelNamespaceHandler imple
             factory2.setId(".camelBlueprint.factory." + contextId);
             factory2.setFactoryComponent(factory);
             factory2.setFactoryMethod("call");
-            factory2.setInitMethod("init");
+            factory2.setInitMethod("afterPropertiesSet");
             factory2.setDestroyMethod("destroy");
 
             MutableBeanMetadata ctx = context.createMetadata(MutableBeanMetadata.class);



Mime
View raw message