You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tamaya.apache.org by an...@apache.org on 2016/01/19 22:34:44 UTC
incubator-tamaya git commit: Added missing camelcontext.
Repository: incubator-tamaya
Updated Branches:
refs/heads/master af2255afd -> faf95ad75
Added missing camelcontext.
Project: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/commit/faf95ad7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/tree/faf95ad7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/diff/faf95ad7
Branch: refs/heads/master
Commit: faf95ad75d484338a882d86d016230caa86b8b38
Parents: af2255a
Author: anatole <an...@apache.org>
Authored: Tue Jan 19 22:34:39 2016 +0100
Committer: anatole <an...@apache.org>
Committed: Tue Jan 19 22:34:39 2016 +0100
----------------------------------------------------------------------
.../test/resources/META-INF/camelcontext.xml | 52 ++++++++++++++++++++
1 file changed, 52 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/faf95ad7/modules/integration/camel/src/test/resources/META-INF/camelcontext.xml
----------------------------------------------------------------------
diff --git a/modules/integration/camel/src/test/resources/META-INF/camelcontext.xml b/modules/integration/camel/src/test/resources/META-INF/camelcontext.xml
new file mode 100644
index 0000000..6b99d3d
--- /dev/null
+++ b/modules/integration/camel/src/test/resources/META-INF/camelcontext.xml
@@ -0,0 +1,52 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy current the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="
+ 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
+ ">
+
+ <!-- this is an included XML file where we only the the routeContext -->
+ <routeContext id="myCoolRoutes" xmlns="http://camel.apache.org/schema/spring">
+ <route id="r1">
+ <from uri="direct:hello1"/>
+ <transform>
+ <simple>{{message}}</simple>
+ </transform>
+ </route>
+ <route id="r2">
+ <from uri="direct:hello2"/>
+ <transform>
+ <simple>{{cfg:message}}</simple>
+ </transform>
+ </route>
+ <route id="r3">
+ <from uri="direct:hello3"/>
+ <transform>
+ <simple>{{tamaya:message}}</simple>
+ </transform>
+ </route>
+ </routeContext>
+
+ <bean id="properties" class="org.apache.tamaya.integration.camel.TamayaPropertiesComponent">
+ <property name="tamayaOverrides" value="true"/>
+ </bean>
+
+</beans>
\ No newline at end of file