Repository: camel
Updated Branches:
  refs/heads/camel-2.12.x 21823513d -> 443381541


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/44338154
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/44338154
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/44338154

Branch: refs/heads/camel-2.12.x
Commit: 443381541b28f75ae7717a4054216e93ab8bacff
Parents: 2182351
Author: Babak Vahdat <[email protected]>
Authored: Sun Mar 2 13:36:25 2014 +0100
Committer: Babak Vahdat <[email protected]>
Committed: Sun Mar 2 13:38:06 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/44338154/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>

Reply via email to