camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1348331 - /camel/branches/camel-2.9.x/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/handler/CamelNamespaceHandler.java
Date Sat, 09 Jun 2012 07:42:00 GMT
Author: davsclaus
Date: Sat Jun  9 07:42:00 2012
New Revision: 1348331

URL: http://svn.apache.org/viewvc?rev=1348331&view=rev
Log:
Fixed camel-blueprint to inject custom namespaces when using routeContext

Modified:
    camel/branches/camel-2.9.x/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/handler/CamelNamespaceHandler.java

Modified: camel/branches/camel-2.9.x/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/handler/CamelNamespaceHandler.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.9.x/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/handler/CamelNamespaceHandler.java?rev=1348331&r1=1348330&r2=1348331&view=diff
==============================================================================
--- camel/branches/camel-2.9.x/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/handler/CamelNamespaceHandler.java
(original)
+++ camel/branches/camel-2.9.x/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/handler/CamelNamespaceHandler.java
Sat Jun  9 07:42:00 2012
@@ -294,6 +294,9 @@ public class CamelNamespaceHandler imple
         ctx.setFactoryComponent(factory2);
         ctx.setFactoryMethod("getRoutes");
 
+        // lets inject the namespaces into any namespace aware POJOs
+        injectNamespaces(element, binder);
+
         return ctx;
     }
 



Mime
View raw message