camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r552479 - in /activemq/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/component/event: ./ camelContext.xml
Date Mon, 02 Jul 2007 12:13:11 GMT
Author: jstrachan
Date: Mon Jul  2 05:13:10 2007
New Revision: 552479

URL: http://svn.apache.org/viewvc?view=rev&rev=552479
Log:
added support for CAMEL-60; allowing an "event:default" endpoint to be used to send and consume
Spring ApplicationEvents

Added:
    activemq/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/component/event/
    activemq/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/component/event/camelContext.xml
  (with props)

Added: activemq/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/component/event/camelContext.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/component/event/camelContext.xml?view=auto&rev=552479
==============================================================================
--- activemq/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/component/event/camelContext.xml
(added)
+++ activemq/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/component/event/camelContext.xml
Mon Jul  2 05:13:10 2007
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    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.
+-->
+<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-2.0.xsd
+       http://activemq.apache.org/camel/schema/spring http://activemq.apache.org/camel/schema/spring/camel-spring.xsd
+    ">
+
+  <camelContext xmlns="http://activemq.apache.org/camel/schema/spring" packages="org.apache.camel.component.event">
+    <route>
+      <from uri="event:default"/>
+      <to uri="mock:result"/>
+    </route>
+  </camelContext>
+
+</beans>

Propchange: activemq/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/component/event/camelContext.xml
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message