You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bu...@apache.org on 2015/06/20 07:29:05 UTC

svn commit: r955454 - in /websites/production/camel/content: cache/main.pageCache servlet-tomcat-example.html servlet-tomcat-no-spring-example.html

Author: buildbot
Date: Sat Jun 20 05:29:05 2015
New Revision: 955454

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/servlet-tomcat-example.html
    websites/production/camel/content/servlet-tomcat-no-spring-example.html

Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/camel/content/servlet-tomcat-example.html
==============================================================================
--- websites/production/camel/content/servlet-tomcat-example.html (original)
+++ websites/production/camel/content/servlet-tomcat-example.html Sat Jun 20 05:29:05 2015
@@ -86,27 +86,10 @@
 	<tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 id="ServletTomcatExample-ServletTomcatExample">Servlet Tomcat Example</h2>
-<p><strong>Available as of Camel 2.7</strong></p>
-
-<p>This example is located in the <code>examples/camel-example-servlet-tomcat</code> directory of the Camel distribution.<br clear="none">
-There is a <code>README.txt</code> file with instructions how to run it.</p>
-
-<p>If you use maven then you can easily package the example from the command line:</p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
-mvn package
+<div class="wiki-content maincontent"><h2 id="ServletTomcatExample-ServletTomcatExample">Servlet Tomcat Example</h2><p><strong>Available as of Camel 2.7</strong></p><p>This example is located in the <code>examples/camel-example-servlet-tomcat</code> directory of the Camel distribution.<br clear="none"> There is a <code>README.txt</code> file with instructions how to run it.</p><p>If you use maven then you can easily package the example from the command line:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[mvn package
 ]]></script>
-</div></div>
-
-<h3 id="ServletTomcatExample-About">About</h3>
-
-<p>This example demonstrates how you can use <a shape="rect" href="servlet.html">Servlet</a> to expose a http service in a Camel route.</p>
-
-<h3 id="ServletTomcatExample-Implementation">Implementation</h3>
-
-<p>In the <code>web.xml</code> file in the <code>src/main/webapp/WEB-INF</code> folder the CamelServlet is defined. This is mandatory to do when using the <a shape="rect" href="servlet.html">Servlet</a> component.</p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>web.xml</b></div><div class="codeContent panelContent pdl">
+</div></div><h3 id="ServletTomcatExample-About">About</h3><p>This example demonstrates how you can use <a shape="rect" href="servlet.html">Servlet</a> to expose a http service in a Camel route.</p><h3 id="ServletTomcatExample-Implementation">Implementation</h3><p>In the <code>web.xml</code> file in the <code>src/main/webapp/WEB-INF</code> folder the CamelServlet is defined. This is mandatory to do when using the <a shape="rect" href="servlet.html">Servlet</a> component.</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>web.xml</b></div><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
 &lt;web-app version=&quot;2.4&quot; xmlns=&quot;http://java.sun.com/xml/ns/j2ee&quot;
          xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
@@ -140,10 +123,7 @@ mvn package
 
 &lt;/web-app&gt;
 ]]></script>
-</div></div>
-
-<p>The route is a simple <a shape="rect" href="content-based-router.html">Content Based Router</a> defined in the DSL XML as shown:</p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>camel-config.xml</b></div><div class="codeContent panelContent pdl">
+</div></div><p>The route is a simple <a shape="rect" href="content-based-router.html">Content Based Router</a> defined in the DSL XML as shown:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>camel-config.xml</b></div><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
 &lt;beans xmlns=&quot;http://www.springframework.org/schema/beans&quot;
        xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
@@ -179,19 +159,7 @@ mvn package
 
 &lt;/beans&gt;
 ]]></script>
-</div></div>
-
-<h3 id="ServletTomcatExample-Runningtheexample">Running the example</h3>
-
-<p>This example runs in Apache Tomcat, so you will have to package the .war file and copy it to the <code>webapp</code> folder of Tomcat, which is the hot deploy folder.</p>
-
-<p><strong>Note:</strong> You have to use the version number of Camel you use. In this documentation we are using 2.7.0.</p>
-
-<p>There is a main page at: <code><a shape="rect" class="external-link" href="http://localhost:8080/camel-example-servlet-tomcat-2.7.0" rel="nofollow">http://localhost:8080/camel-example-servlet-tomcat-2.7.0</a></code> which has more instructions.<br clear="none">
-You can then use a web browser and send a request to the <code><a shape="rect" class="external-link" href="http://localhost:8080/camel-example-servlet-tomcat-2.7.0/camel/hello" rel="nofollow">http://localhost:8080/camel-example-servlet-tomcat-2.7.0/camel/hello</a></code> url. </p>
-
-<h3 id="ServletTomcatExample-SeeAlso">See Also</h3>
-<ul class="alternate"><li><a shape="rect" href="examples.html">Examples</a></li><li><a shape="rect" href="servlet.html">Servlet</a></li><li><a shape="rect" href="http.html">HTTP</a></li></ul></div>
+</div></div><h3 id="ServletTomcatExample-Runningtheexample">Running the example</h3><p>This example runs in Apache Tomcat, so you will have to package the .war file and copy it to the <code>webapp</code> folder of Tomcat, which is the hot deploy folder.</p><p>There is a main page at: <code><a shape="rect" class="external-link" href="http://localhost:8080/camel-example-servlet-tomcat" rel="nofollow">http://localhost:8080/camel-example-servlet-tomcat</a></code> which has more instructions.<br clear="none"> You can then use a web browser and send a request to the <code><a shape="rect" class="external-link" href="http://localhost:8080/camel-example-servlet-tomcat/camel/hello" rel="nofollow">http://localhost:8080/camel-example-servlet-tomcat/camel/hello</a></code> url.</p><h3 id="ServletTomcatExample-SeeAlso">See Also</h3><ul class="alternate"><li><a shape="rect" href="examples.html">Examples</a></li><li><a shape="rect" href="servlet.html">Servlet</a></li><li><a shape="rect" href="http.h
 tml">HTTP</a></li></ul></div>
         </td>
         <td valign="top">
           <div class="navigation">

Modified: websites/production/camel/content/servlet-tomcat-no-spring-example.html
==============================================================================
--- websites/production/camel/content/servlet-tomcat-no-spring-example.html (original)
+++ websites/production/camel/content/servlet-tomcat-no-spring-example.html Sat Jun 20 05:29:05 2015
@@ -86,30 +86,10 @@
 	<tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 id="ServletTomcatNoSpringExample-ServletTomcatNoSpringExample">Servlet Tomcat No Spring Example</h2>
-<p><strong>Available as of Camel 2.11</strong></p>
-
-<p>This example is located in the <code>examples/camel-example-servlet-tomcat-no-spring</code> directory of the Camel distribution.<br clear="none">
-There is a <code>README.txt</code> file with instructions how to run it.</p>
-
-<p>If you use maven then you can easily package the example from the command line:</p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
-mvn package
+<div class="wiki-content maincontent"><h2 id="ServletTomcatNoSpringExample-ServletTomcatNoSpringExample">Servlet Tomcat No Spring Example</h2><p><strong>Available as of Camel 2.11</strong></p><p>This example is located in the <code>examples/camel-example-servlet-tomcat-no-spring</code> directory of the Camel distribution.<br clear="none"> There is a <code>README.txt</code> file with instructions how to run it.</p><p>If you use maven then you can easily package the example from the command line:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[mvn package
 ]]></script>
-</div></div>
-
-<h3 id="ServletTomcatNoSpringExample-About">About</h3>
-
-<p>This example demonstrates how you can create light-weight web applications without the need for Spring Framework.<br clear="none">
-The example contains a Camel routes that used the <a shape="rect" href="servlet.html">Servlet</a> component to expose a http service.</p>
-
-<h3 id="ServletTomcatNoSpringExample-Implementation">Implementation</h3>
-
-<p>In the <code>web.xml</code> file in the <code>src/main/webapp/WEB-INF</code> folder we have both a CamelServlet and CamelContextListener defined.<br clear="none">
-The CamelServlet is mandatory to do when using the <a shape="rect" href="servlet.html">Servlet</a> component. And the <code>JndiCamelServletContextListener</code> is used to bootstrap the Camel application. </p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>web.xml</b></div><div class="codeContent panelContent pdl">
+</div></div><h3 id="ServletTomcatNoSpringExample-About">About</h3><p>This example demonstrates how you can create light-weight web applications without the need for Spring Framework.<br clear="none"> The example contains a Camel routes that used the <a shape="rect" href="servlet.html">Servlet</a> component to expose a http service.</p><h3 id="ServletTomcatNoSpringExample-Implementation">Implementation</h3><p>In the <code>web.xml</code> file in the <code>src/main/webapp/WEB-INF</code> folder we have both a CamelServlet and CamelContextListener defined.<br clear="none"> The CamelServlet is mandatory to do when using the <a shape="rect" href="servlet.html">Servlet</a> component. And the <code>JndiCamelServletContextListener</code> is used to bootstrap the Camel application.</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>web.xml</b></div><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
 &lt;web-app version=&quot;2.4&quot; xmlns=&quot;http://java.sun.com/xml/ns/j2ee&quot;
          xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
@@ -151,20 +131,13 @@ The CamelServlet is mandatory to do when
 
 &lt;/web-app&gt;
 ]]></script>
-</div></div>
-
-    <div class="aui-message success shadowed information-macro">
+</div></div>    <div class="aui-message success shadowed information-macro">
                             <span class="aui-icon icon-success">Icon</span>
                 <div class="message-content">
-                            
-<p>Its the <a shape="rect" href="servletlistener-component.html">ServletListener Component</a> that is used to bootstrap Camel in the web application. See more details at <a shape="rect" href="servletlistener-component.html">ServletListener Component</a>.</p>
+                            <p>Its the <a shape="rect" href="servletlistener-component.html">ServletListener Component</a> that is used to bootstrap Camel in the web application. See more details at <a shape="rect" href="servletlistener-component.html">ServletListener Component</a>.</p>
                     </div>
     </div>
-
-
-<h4 id="ServletTomcatNoSpringExample-TheCamelroute">The Camel route</h4>
-<p>The route is a simple <a shape="rect" href="content-based-router.html">Content Based Router</a> defined in the DSL XML as shown:</p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>camel-config.xml</b></div><div class="codeContent panelContent pdl">
+<h4 id="ServletTomcatNoSpringExample-TheCamelroute">The Camel route</h4><p>The route is a simple <a shape="rect" href="content-based-router.html">Content Based Router</a> defined in the DSL XML as shown:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>camel-config.xml</b></div><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
 &lt;!-- here we have the Camel route(s). --&gt;
 &lt;!-- we must still use the http://camel.apache.org/schema/spring namespace so Camel can load the routes
@@ -194,19 +167,7 @@ The CamelServlet is mandatory to do when
 
 &lt;/routes&gt;
 ]]></script>
-</div></div>
-
-<h3 id="ServletTomcatNoSpringExample-Runningtheexample">Running the example</h3>
-
-<p>This example runs in any web container such as Apache Tomcat. For example to deploy in Apache Tomcat you will have to package the .war file and copy it to the <code>webapp</code> folder of Tomcat, which is the hot deploy folder.</p>
-
-<p><strong>Note:</strong> You have to use the version number of Camel you use. In this documentation we are using 2.11.0.</p>
-
-<p>There is a main page at: <code><a shape="rect" class="external-link" href="http://localhost:8080/camel-example-servlet-tomcat-no-spring-2.11.0" rel="nofollow">http://localhost:8080/camel-example-servlet-tomcat-no-spring-2.11.0</a></code> which has more instructions.<br clear="none">
-You can then use a web browser and send a request to the <code><a shape="rect" class="external-link" href="http://localhost:8080/camel-example-servlet-tomcat-no-spring-2.11.0/camel/hello" rel="nofollow">http://localhost:8080/camel-example-servlet-tomcat-no-spring-2.11.0/camel/hello</a></code> url. </p>
-
-<h3 id="ServletTomcatNoSpringExample-SeeAlso">See Also</h3>
-<ul class="alternate"><li><a shape="rect" href="examples.html">Examples</a></li><li><a shape="rect" href="servlet-tomcat-example.html">Servlet Tomcat Example</a></li><li><a shape="rect" href="servletlistener-component.html">ServletListener Component</a></li><li><a shape="rect" href="servlet.html">Servlet</a></li><li><a shape="rect" href="http.html">HTTP</a></li></ul></div>
+</div></div><h3 id="ServletTomcatNoSpringExample-Runningtheexample">Running the example</h3><p>This example runs in any web container such as Apache Tomcat. For example to deploy in Apache Tomcat you will have to package the .war file and copy it to the <code>webapp</code> folder of Tomcat, which is the hot deploy folder.</p><p>There is a main page at: <code><a shape="rect" class="external-link" href="http://localhost:8080/camel-example-servlet-tomcat-no-spring" rel="nofollow">http://localhost:8080/camel-example-servlet-tomcat-no-spring</a></code> which has more instructions.<br clear="none"> You can then use a web browser and send a request to the <code><a shape="rect" class="external-link" href="http://localhost:8080/camel-example-servlet-tomcat-no-spring/camel/hello" rel="nofollow">http://localhost:8080/camel-example-servlet-tomcat-no-spring/camel/hello</a></code> url.</p><h3 id="ServletTomcatNoSpringExample-SeeAlso">See Also</h3><ul class="alternate"><li><a shape="rect" href="ex
 amples.html">Examples</a></li><li><a shape="rect" href="servlet-tomcat-example.html">Servlet Tomcat Example</a></li><li><a shape="rect" href="servletlistener-component.html">ServletListener Component</a></li><li><a shape="rect" href="servlet.html">Servlet</a></li><li><a shape="rect" href="http.html">HTTP</a></li></ul></div>
         </td>
         <td valign="top">
           <div class="navigation">