Author: ningjiang
Date: Tue Aug 5 23:22:48 2008
New Revision: 683129
URL: http://svn.apache.org/viewvc?rev=683129&view=rev
Log:
CAMEL-784 Added the missing spring configuration file
Added:
activemq/camel/trunk/tests/camel-itest/src/test/resources/org/
activemq/camel/trunk/tests/camel-itest/src/test/resources/org/apache/
activemq/camel/trunk/tests/camel-itest/src/test/resources/org/apache/camel/
activemq/camel/trunk/tests/camel-itest/src/test/resources/org/apache/camel/itest/
activemq/camel/trunk/tests/camel-itest/src/test/resources/org/apache/camel/itest/greeter/
activemq/camel/trunk/tests/camel-itest/src/test/resources/org/apache/camel/itest/greeter/CamelGreeterTest-context.xml
(with props)
Modified:
activemq/camel/trunk/tooling/pom.xml
Added:
activemq/camel/trunk/tests/camel-itest/src/test/resources/org/apache/camel/itest/greeter/CamelGreeterTest-context.xml
URL:
http://svn.apache.org/viewvc/activemq/camel/trunk/tests/camel-itest/src/test/resources/org/apache/camel/itest/greeter/CamelGreeterTest-context.xml?rev=683129&view=auto
==============================================================================
---
activemq/camel/trunk/tests/camel-itest/src/test/resources/org/apache/camel/itest/greeter/CamelGreeterTest-context.xml
(added)
+++
activemq/camel/trunk/tests/camel-itest/src/test/resources/org/apache/camel/itest/greeter/CamelGreeterTest-context.xml
Tue Aug 5 23:22:48 2008
@@ -0,0 +1,69 @@
+<?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"
+ xmlns:cxf="http://activemq.apache.org/camel/schema/cxfEndpoint"
+
+ xsi:schemaLocation="
+ http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
+ http://activemq.apache.org/camel/schema/cxfEndpoint
http://activemq.apache.org/camel/schema/cxfEndpoint/camel-cxf.xsd
+ http://activemq.apache.org/camel/schema/spring
http://activemq.apache.org/camel/schema/spring/camel-spring.xsd
+ ">
+
+ <import resource="classpath:activemq.xml" />
+ <import resource="classpath:META-INF/cxf/cxf.xml"/>
+ <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
+ <import resource="classpath:META-INF/cxf/cxf-extension-http-jetty.xml" />
+
+ <cxf:cxfEndpoint id="serviceEndpoint"
address="http://localhost:9000/SoapContext/SoapPort"
+ wsdlURL="wsdl/hello_world.wsdl"
+ serviceClass="org.apache.hello_world_soap_http.Greeter"
+ endpointName="s:SoapOverHttp"
+ serviceName="s:SOAPService"
+ xmlns:s="http://apache.org/hello_world_soap_http">
+ <cxf:properties>
+ <entry key="setDefaultBus" value="false"/>
+ </cxf:properties>
+ </cxf:cxfEndpoint>
+
+ <bean id="prepareRequest"
class="org.apache.camel.itest.greeter.PrepareRequest"/>
+ <bean id="prepareResponse"
class="org.apache.camel.itest.greeter.PrepareResponse"/>
+
+ <bean id="jms" class="org.apache.camel.component.jms.JmsComponent">
+ <property name="connectionFactory">
+ <bean class="org.apache.activemq.ActiveMQConnectionFactory">
+ <property name="brokerURL"
+ value="tcp://localhost:61616" />
+ </bean>
+ </property>
+ </bean>
+
+ <!-- START SNIPPET: example -->
+ <camelContext xmlns="http://activemq.apache.org/camel/schema/spring">
+ <route>
+ <from uri="jms:requestQueue"/>
+ <process ref="prepareRequest"/>
+ <to uri="cxf://bean:serviceEndpoint"/>
+ <process ref="prepareResponse"/>
+ <to uri="jms:responseQueue"/>
+ <to uri="mock:resultEndpoint"/>
+ </route>
+ </camelContext>
+ <!-- END SNIPPET: example -->
+
+</beans>
Propchange:
activemq/camel/trunk/tests/camel-itest/src/test/resources/org/apache/camel/itest/greeter/CamelGreeterTest-context.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
activemq/camel/trunk/tests/camel-itest/src/test/resources/org/apache/camel/itest/greeter/CamelGreeterTest-context.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange:
activemq/camel/trunk/tests/camel-itest/src/test/resources/org/apache/camel/itest/greeter/CamelGreeterTest-context.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: activemq/camel/trunk/tooling/pom.xml
URL:
http://svn.apache.org/viewvc/activemq/camel/trunk/tooling/pom.xml?rev=683129&r1=683128&r2=683129&view=diff
==============================================================================
--- activemq/camel/trunk/tooling/pom.xml (original)
+++ activemq/camel/trunk/tooling/pom.xml Tue Aug 5 23:22:48 2008
@@ -14,9 +14,7 @@
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.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+--><project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
@@ -37,6 +35,7 @@
<module>maven</module>
<module>archetypes</module>
<module>camel-manual</module>
+ <module>camel-gshell</module>
</modules>
-</project>
+</project>
\ No newline at end of file