You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2009/02/25 19:20:28 UTC
svn commit: r747884 - in
/camel/trunk/tooling/archetypes/camel-archetype-war/src/main/resources/archetype-resources:
pom.xml src/main/webapp/WEB-INF/applicationContext.xml
Author: janstey
Date: Wed Feb 25 18:20:28 2009
New Revision: 747884
URL: http://svn.apache.org/viewvc?rev=747884&view=rev
Log:
Add another component into the mix to show how easy it is to add new Camel jars to your WAR
Modified:
camel/trunk/tooling/archetypes/camel-archetype-war/src/main/resources/archetype-resources/pom.xml
camel/trunk/tooling/archetypes/camel-archetype-war/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/applicationContext.xml
Modified: camel/trunk/tooling/archetypes/camel-archetype-war/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/tooling/archetypes/camel-archetype-war/src/main/resources/archetype-resources/pom.xml?rev=747884&r1=747883&r2=747884&view=diff
==============================================================================
--- camel/trunk/tooling/archetypes/camel-archetype-war/src/main/resources/archetype-resources/pom.xml (original)
+++ camel/trunk/tooling/archetypes/camel-archetype-war/src/main/resources/archetype-resources/pom.xml Wed Feb 25 18:20:28 2009
@@ -46,37 +46,27 @@
<version>${camel-version}</version>
<type>war</type>
<scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.activemq</groupId>
- <artifactId>activemq-core</artifactId>
- <version>${activemq-version}</version>
- </dependency>
+ </dependency>
+
+ <!-- Dependencies for using ActiveMQ -->
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-camel</artifactId>
<version>${activemq-version}</version>
</dependency>
<dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-core</artifactId>
- <version>${camel-version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-jms</artifactId>
- <version>${camel-version}</version>
+ <groupId>org.apache.xbean</groupId>
+ <artifactId>xbean-spring</artifactId>
+ <version>${xbean-spring-version}</version>
</dependency>
+
+ <!-- Dependencies for stream processing in Camel
+ http://camel.apache.org/stream.html -->
<dependency>
<groupId>org.apache.camel</groupId>
- <artifactId>camel-spring</artifactId>
+ <artifactId>camel-stream</artifactId>
<version>${camel-version}</version>
</dependency>
- <dependency>
- <groupId>org.apache.xbean</groupId>
- <artifactId>xbean-spring</artifactId>
- <version>${xbean-spring-version}</version>
- </dependency>
</dependencies>
<build>
Modified: camel/trunk/tooling/archetypes/camel-archetype-war/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/applicationContext.xml
URL: http://svn.apache.org/viewvc/camel/trunk/tooling/archetypes/camel-archetype-war/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/applicationContext.xml?rev=747884&r1=747883&r2=747884&view=diff
==============================================================================
--- camel/trunk/tooling/archetypes/camel-archetype-war/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/applicationContext.xml (original)
+++ camel/trunk/tooling/archetypes/camel-archetype-war/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/applicationContext.xml Wed Feb 25 18:20:28 2009
@@ -73,8 +73,14 @@
<package>${package}</package>
<route>
<from uri="file:src/data?noop=true"/>
+
+ <!-- Print the message to standard out, just as a test -->
+ <convertBodyTo type="java.lang.String"/>
+ <to uri="stream:out"/>
+
<to uri="activemq:personnel.records"/>
</route>
+
<route>
<from uri="activemq:personnel.records"/>
<choice>