camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1445485 - in /camel/branches/camel-2.9.x: ./ examples/camel-example-spring-xquery/src/main/resources/META-INF/spring/camelContext.xml examples/camel-example-spring-xquery/src/main/resources/myTransform.xquery
Date Wed, 13 Feb 2013 07:00:43 GMT
Author: davsclaus
Date: Wed Feb 13 07:00:42 2013
New Revision: 1445485

URL: http://svn.apache.org/r1445485
Log:
Fixed example

Modified:
    camel/branches/camel-2.9.x/   (props changed)
    camel/branches/camel-2.9.x/examples/camel-example-spring-xquery/src/main/resources/META-INF/spring/camelContext.xml
    camel/branches/camel-2.9.x/examples/camel-example-spring-xquery/src/main/resources/myTransform.xquery

Propchange: camel/branches/camel-2.9.x/
------------------------------------------------------------------------------
  Merged /camel/trunk:r1445480
  Merged /camel/branches/camel-2.10.x:r1445484

Propchange: camel/branches/camel-2.9.x/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: camel/branches/camel-2.9.x/examples/camel-example-spring-xquery/src/main/resources/META-INF/spring/camelContext.xml
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.9.x/examples/camel-example-spring-xquery/src/main/resources/META-INF/spring/camelContext.xml?rev=1445485&r1=1445484&r2=1445485&view=diff
==============================================================================
--- camel/branches/camel-2.9.x/examples/camel-example-spring-xquery/src/main/resources/META-INF/spring/camelContext.xml
(original)
+++ camel/branches/camel-2.9.x/examples/camel-example-spring-xquery/src/main/resources/META-INF/spring/camelContext.xml
Wed Feb 13 07:00:42 2013
@@ -28,6 +28,7 @@
     <!-- lets parse files, transform them with XQuery and send them to JMS -->
     <route>
       <from uri="file:src/data?noop=true"/>
+      <log message="Transforming input file ${header.CamelFileName}"/>
       <to uri="xquery:myTransform.xquery"/>
       <to uri="jms:MyQueue"/>
     </route>
@@ -35,6 +36,7 @@
     <!-- now lets write messages from the queue to a directory -->
     <route>
       <from uri="jms:MyQueue"/>
+      <log message="Writing output file ${header.CamelFileName}"/>
       <to uri="file:target/outputFiles"/>
     </route>
 

Modified: camel/branches/camel-2.9.x/examples/camel-example-spring-xquery/src/main/resources/myTransform.xquery
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.9.x/examples/camel-example-spring-xquery/src/main/resources/myTransform.xquery?rev=1445485&r1=1445484&r2=1445485&view=diff
==============================================================================
--- camel/branches/camel-2.9.x/examples/camel-example-spring-xquery/src/main/resources/myTransform.xquery
(original)
+++ camel/branches/camel-2.9.x/examples/camel-example-spring-xquery/src/main/resources/myTransform.xquery
Wed Feb 13 07:00:42 2013
@@ -1,19 +1,3 @@
-<!--
-  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 of 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.
--->
 <employee id="{person/@user}">
  <name>{/person/firstName} {/person/lastName}</name>
  <location>{/person/city}</location>



Mime
View raw message