Author: davsclaus
Date: Fri Jan 4 09:29:28 2013
New Revision: 1428767
URL: http://svn.apache.org/viewvc?rev=1428767&view=rev
Log:
CAMEL-5906: Added example for webapp without Spring
Modified:
camel/trunk/examples/camel-example-servlet-tomcat-no-spring/ (props
changed)
camel/trunk/examples/camel-example-servlet-tomcat-no-spring/src/main/webapp/WEB-INF/web.xml
camel/trunk/examples/camel-example-servlet-tomcat-no-spring/src/main/webapp/index.html
Propchange: camel/trunk/examples/camel-example-servlet-tomcat-no-spring/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Jan 4 09:29:28 2013
@@ -0,0 +1,17 @@
+.pmd
+.checkstyle
+.ruleset
+target
+.settings
+.classpath
+.project
+.wtpmodules
+prj.el
+.jdee_classpath
+.jdee_sources
+velocity.log
+eclipse-classes
+*.ipr
+*.iml
+*.iws
+*.idea
Modified:
camel/trunk/examples/camel-example-servlet-tomcat-no-spring/src/main/webapp/WEB-INF/web.xml
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-servlet-tomcat-no-spring/src/main/webapp/WEB-INF/web.xml?rev=1428767&r1=1428766&r2=1428767&view=diff
==============================================================================
---
camel/trunk/examples/camel-example-servlet-tomcat-no-spring/src/main/webapp/WEB-INF/web.xml
(original)
+++
camel/trunk/examples/camel-example-servlet-tomcat-no-spring/src/main/webapp/WEB-INF/web.xml
Fri Jan 4 09:29:28 2013
@@ -33,6 +33,7 @@
<context-param>
<param-name>routeBuilder-MyRoute</param-name>
<!-- define the routes as a resource from the classpath by prefixing the
value with classpath: -->
+ <!-- note: instead of using a XML file we can also define the routes in
Java code in a RouteBuilder class -->
<param-value>classpath:camel-config.xml</param-value>
</context-param>
Modified:
camel/trunk/examples/camel-example-servlet-tomcat-no-spring/src/main/webapp/index.html
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-servlet-tomcat-no-spring/src/main/webapp/index.html?rev=1428767&r1=1428766&r2=1428767&view=diff
==============================================================================
---
camel/trunk/examples/camel-example-servlet-tomcat-no-spring/src/main/webapp/index.html
(original)
+++
camel/trunk/examples/camel-example-servlet-tomcat-no-spring/src/main/webapp/index.html
Fri Jan 4 09:29:28 2013
@@ -17,7 +17,7 @@
<html>
<body>
-<h2>Camel web application without using Spring</h2>
+<h2>Camel Servlet and Apache Tomcat without Spring example</h2>
This example shows how to use route messages in Apache Tomcat using servlets
with Apache Camel,
without any Spring dependency.
@@ -27,7 +27,7 @@ To get started click <a href="camel/hell
<br/>
<br/>
This example is documented at
-<a href="http://camel.apache.org/webapp-no-spring.html">Web application
without Spring</a>
+<a
href="http://camel.apache.org/servlet-tomcat-example-no-spring.html">servlet
tomcat no spring example</a>
<br/>
If you hit any problems please let us know on the