You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bv...@apache.org on 2014/03/02 13:37:32 UTC

git commit: Remove the depends-on instructions inside Spring XML of camel-example-etl (as a side effect of CAMEL-7156) so that user can easier follow & understand this example.

Repository: camel
Updated Branches:
  refs/heads/master ba438545c -> 299681a8f


Remove the depends-on instructions inside Spring XML of camel-example-etl (as a side effect of CAMEL-7156) so that user can easier follow & understand this example.

Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/299681a8
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/299681a8
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/299681a8

Branch: refs/heads/master
Commit: 299681a8f004d27b0cf3558b68ae49f3e16f25cb
Parents: ba43854
Author: Babak Vahdat <bv...@apache.org>
Authored: Sun Mar 2 13:36:25 2014 +0100
Committer: Babak Vahdat <bv...@apache.org>
Committed: Sun Mar 2 13:36:25 2014 +0100

----------------------------------------------------------------------
 .../src/main/resources/META-INF/spring/camel-context.xml         | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/299681a8/examples/camel-example-etl/src/main/resources/META-INF/spring/camel-context.xml
----------------------------------------------------------------------
diff --git a/examples/camel-example-etl/src/main/resources/META-INF/spring/camel-context.xml b/examples/camel-example-etl/src/main/resources/META-INF/spring/camel-context.xml
index 8b1cc2f..b70c964 100644
--- a/examples/camel-example-etl/src/main/resources/META-INF/spring/camel-context.xml
+++ b/examples/camel-example-etl/src/main/resources/META-INF/spring/camel-context.xml
@@ -20,11 +20,11 @@
         http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
         http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
 
-  <camelContext id="camel" trace="true" xmlns="http://camel.apache.org/schema/spring" depends-on="entityManagerFactory">
+  <camelContext id="camel" trace="true" xmlns="http://camel.apache.org/schema/spring">
     <package>org.apache.camel.example.etl</package>
   </camelContext>
 
-  <bean id="jpa" class="org.apache.camel.component.jpa.JpaComponent" depends-on="entityManagerFactory">
+  <bean id="jpa" class="org.apache.camel.component.jpa.JpaComponent">
     <property name="entityManagerFactory" ref="entityManagerFactory" />
     <property name="transactionManager" ref="transactionManager" />
   </bean>