camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r844902 - in /websites/production/camel/content: cache/main.pageCache servletlistener-component.html
Date Fri, 04 Jan 2013 10:18:26 GMT
Author: buildbot
Date: Fri Jan  4 10:18:25 2013
New Revision: 844902

Log:
Production update by buildbot for camel

Added:
    websites/production/camel/content/servletlistener-component.html
Modified:
    websites/production/camel/content/cache/main.pageCache

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

Added: websites/production/camel/content/servletlistener-component.html
==============================================================================
--- websites/production/camel/content/servletlistener-component.html (added)
+++ websites/production/camel/content/servletlistener-component.html Fri Jan  4 10:18:25 2013
@@ -0,0 +1,210 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--
+
+    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.
+-->
+<html>
+<head>
+    <link href="http://camel.apache.org/styles/site.css" rel="stylesheet" type="text/css">
+    <link href="http://camel.apache.org/styles/type-settings.css" rel="stylesheet" type="text/css">
+    <script src="http://camel.apache.org/styles/prototype.js" type="text/javascript"></script>
+    <script src="http://camel.apache.org/styles/rico.js" type="text/javascript"></script>
   
+    <script src="http://camel.apache.org/styles/site.js" type="text/javascript"></script>
+
+    <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
+
+    <style type="text/css">
+      .maincontent { overflow:hidden; }
+    </style>
+    <!--[if IE]>
+    <style type="text/css">
+      .maincontent { width:100%; }
+    </style>
+    <![endif]-->
+
+    <title>
+    Apache Camel: ServletListener Component
+    </title>
+</head>
+<body>
+<div class="white_box">
+<div class="header">
+  <div class="header_l">
+    <div class="header_r">
+    </div>
+  </div>
+</div>
+<div class="content">
+  <div class="content_l">
+    <div class="content_r">
+      <div>
+          <!-- Banner -->
+<div id="banner-content">
+	<div id="asf_logo">
+	<div id="activemq_logo" style="height:108px; background:transparent url(banner.data/apache-camel-7.png)
no-repeat scroll left top;">
+            <a shape="rect" style="float:left; width:310px;display:block;text-indent:-5000px;text-decoration:none;line-height:140px;
margin-top:20px; margin-left:18px;" href="http://camel.apache.org/">Camel</a>
+            <a shape="rect" style="float:right; width:180px;display:block;text-indent:-5000px;text-decoration:none;line-height:80px;
margin-top:45px; margin-right:10px;" href="http://www.apache.org">Apache</a>
+	</div>
+        </div>
+</div>
+          <!-- Banner -->
+        <div class="top_red_bar">
+          <div id="site-breadcrumbs">
+                <!-- Breadcrumbs -->
+<a href="index.html">Apache Camel</a>&nbsp;&gt;&nbsp;<a href="documentation.html">Documentation</a>&nbsp;&gt;&nbsp;<a
href="components.html">Components</a>&nbsp;&gt;&nbsp;<a href="servletlistener-component.html">ServletListener
Component</a>
+          </div>
+          <!-- Quicklinks -->
+<div id="site-quicklinks"><p><a shape="rect" href="download.html" title="Download">Download</a>
| <a shape="rect" href="javadoc.html" title="JavaDoc">JavaDoc</a> | <a shape="rect"
href="source.html" title="Source">Source</a> | <a shape="rect" href="discussion-forums.html"
title="Discussion Forums">Forums</a> | <a shape="rect" href="support.html" title="Support">Support</a></p></div>
+          <!-- Quicklinks -->
+        </div>
+
+	<table border="0">
+	<tbody>
+        <tr>
+        <td valign="top" width="100%">
+<div class="wiki-content maincontent"><h2><a shape="rect" name="ServletListenerComponent-ServletListenerComponent"></a>ServletListener
Component</h2>
+<p><b>Available as of Camel 2.11</b></p>
+
+<p>This component is used for bootstrapping Camel applications in web applications.
For example beforehand people would have to find their own way of bootstrapping Camel, or
rely on 3rd party frameworks such as Spring to do it.</p>
+
+<p>There may be situations where you want a pure Camel based solution, without the
extra overhead of Spring Framework.</p>
+
+<div class="panelMacro"><table class="noteMacro"><colgroup span="1"><col
span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1"
valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/warning.gif"
width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1"><b>Sidebar</b><br
clear="none">This component works as a <tt>javax.servlet.ServletContextListener</tt>,
which works in any web container of today, as well any older containers.<br clear="none">
+There may be solutions around the corner which is based on Servlet 3.x and annotation driven
configuration, or using <a shape="rect" href="cdi.html" title="CDI">CDI</a> or
other means.<br clear="none">
+This component is old school and based on the pure API from Servlet 2.x, which means it works
in any web container. Also the old ones, which was the goal.</td></tr></table></div>
+
+<p>TODO: Maven dependency</p>
+
+<h3><a shape="rect" name="ServletListenerComponent-Using"></a>Using</h3>
+
+<p>To use this you need to configure the <tt>org.apache.camel.component.servletlistener.CamelServletContextListener</tt>
in the <tt>WEB-INF/web.xml</tt> file as shown below:<br clear="none">
+TODO: myweb.xml</p>
+
+<h4><a shape="rect" name="ServletListenerComponent-Example"></a>Example</h4>
+<p>See <span class="error">[Servlet Tomcat No Spring Example]</span>. </p>
+
+<h3><a shape="rect" name="ServletListenerComponent-Options"></a>Options</h3>
+
+<p>The <tt>org.apache.camel.component.servletlistener.CamelServletContextListener</tt>
supports the following options which can be configured as context-param in the web.xml file.</p>
+
+<div class="table-wrap">
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> Option </th><th colspan="1" rowspan="1" class="confluenceTh">
Type </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> propertyPlaceholder.XXX </td><td
colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1"
class="confluenceTd"> To configure <span class="error">[Using PropertyPlaceholder]</span>
in Camel. You should prefix the option with "propertyPlaceholder.", for example to configure
the location, use propertyPlaceholder.location as name. You can configure all the options
from the <a shape="rect" href="properties.html" title="Properties">Properties</a>
component. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
jmx.XXX </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td
colspan="1" rowspan="1" class="confluenceTd"> To configure <a shape="rect" 
 href="camel-jmx.html" title="Camel JMX">JMX</a>. You should prefix the option with
"jmx.", for example to disable JMX, use jmx.disabled as name. You can configure all the options
from <tt>org.apache.camel.spi.ManagementAgent</tt>. As well the options mentioned
on the <a shape="rect" href="camel-jmx.html" title="Camel JMX">JMX</a> page. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> name </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> To configure the name of the <a shape="rect" href="camelcontext.html"
title="CamelContext">CamelContext</a>. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> streamCache </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>Boolean</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Whether to enable <a shape="rect" href="stream-caching.html" title="Stream
caching">Stream caching</a>. </td></tr><tr><td colspan="1" rowspan="1
 " class="confluenceTd"> trace </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>Boolean</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
Whether to enable <span class="error">[Tracing]</span>. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> delayer </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>Long</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> To set a delay value for <a shape="rect" href="delay-interceptor.html"
title="Delay Interceptor">Delay Interceptor</a>. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> handleFault </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>Boolean</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> Whether to enable handle fault. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> errorHandlerRef </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> Refers to a context
  scoped <a shape="rect" href="error-handler.html" title="Error Handler">Error Handler</a>
to be used. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
autoStartup </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>Boolean</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> Whether to start all routes
when starting Camel. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
useMDCLogging </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>Boolean</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> Whether to use <a shape="rect"
href="mdc-logging.html" title="MDC logging">MDC logging</a>. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> useBreadcrumb </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>Boolean</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> Whether to use <span class="error">[Breadcrumb]</span>.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> managementNam
 ePattern </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> To set a custom naming
pattern for JMX MBeans. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
threadNamePattern </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> To set a custom naming
pattern for threads. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
properties.XXX </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td
colspan="1" rowspan="1" class="confluenceTd"> To set custom properties on <tt>CamelContext.getProperties</tt>.
This is seldom in use. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
routebuilder.XXX </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td
colspan="1" rowspan="1" class="confluenceTd"> To configure routes to be used. See below
for more details. </td></tr><tr><td
  colspan="1" rowspan="1" class="confluenceTd"> XXX </td><td colspan="1" rowspan="1"
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd">
To set any option on <a shape="rect" href="camelcontext.html" title="CamelContext">CamelContext</a>.
</td></tr></tbody></table>
+</div>
+
+
+
+
+<h3><a shape="rect" name="ServletListenerComponent-SeeAlso"></a>See Also</h3>
+<ul class="alternate" type="square"><li><a shape="rect" href="servlet.html"
title="SERVLET">SERVLET</a></li><li><a shape="rect" href="servlet-tomcat-example.html"
title="Servlet Tomcat Example">Servlet Tomcat Example</a></li><li><span
class="error">[Servlet Tomcat No Spring Example]</span></li></ul>
+</div>
+        </td>
+        <td valign="top">
+          <div class="navigation">
+            <div class="navigation_top">
+                <!-- NavigationBar -->
+<div class="navigation_bottom" id="navigation_bottom"><h3><a shape="rect"
name="Navigation-Overview"></a><a shape="rect" href="overview.html" title="Overview">Overview</a></h3>
+
+<ul class="alternate" type="square"><li><a shape="rect" href="index.html"
title="Index">Home</a></li><li><a shape="rect" href="download.html"
title="Download">Download</a></li><li><a shape="rect" href="getting-started.html"
title="Getting Started">Getting Started</a></li><li><a shape="rect"
href="faq.html" title="FAQ">FAQ</a></li></ul>
+
+
+<h3><a shape="rect" name="Navigation-Documentation"></a><a shape="rect"
href="documentation.html" title="Documentation">Documentation</a></h3>
+
+<ul class="alternate" type="square"><li><a shape="rect" href="user-guide.html"
title="User Guide">User Guide</a></li><li><a shape="rect" href="manual.html"
title="Manual">Manual</a></li><li><a shape="rect" href="books.html"
title="Books">Books</a></li><li><a shape="rect" href="tutorials.html"
title="Tutorials">Tutorials</a></li><li><a shape="rect" href="examples.html"
title="Examples">Examples</a></li><li><a shape="rect" href="cookbook.html"
title="Cookbook">Cookbook</a></li><li><a shape="rect" href="enterprise-integration-patterns.html"
title="Enterprise Integration Patterns">Enterprise Integration Patterns</a></li><li><a
shape="rect" href="architecture.html" title="Architecture">Architecture</a></li><li><a
shape="rect" href="components.html" title="Components">Components</a></li><li><a
shape="rect" href="data-format.html" title="Data Format">Data Format</a></li><li><a
shape="rect" href="languages.html" title="Languages">Languages</a></li><li><a
shape="rect" href="security.
 html" title="Security">Security</a></li></ul>
+
+
+<h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
+
+
+<form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
+  <div>
+    <input type="hidden" name="cx" value="007878419884033443453:m5nhvy4hmyq">
+    <input type="hidden" name="ie" value="UTF-8">
+    <input type="text" name="q" size="21">
+    <input type="submit" name="sa" value="Search">
+  </div>
+</form>
+<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
+
+
+<h3><a shape="rect" name="Navigation-Community"></a><a shape="rect"
href="community.html" title="Community">Community</a></h3>
+
+<ul class="alternate" type="square"><li><a shape="rect" href="support.html"
title="Support">Support</a></li><li><a shape="rect" href="contributing.html"
title="Contributing">Contributing</a></li><li><a shape="rect" href="discussion-forums.html"
title="Discussion Forums">Discussion Forums</a></li><li><a shape="rect"
href="mailing-lists.html" title="Mailing Lists">Mailing Lists</a></li><li><a
shape="rect" href="user-stories.html" title="User Stories">User Stories</a></li><li><a
shape="rect" href="news.html" title="News">News</a></li><li><a shape="rect"
href="articles.html" title="Articles">Articles</a></li><li><a shape="rect"
href="site.html" title="Site">Site</a></li><li><a shape="rect" href="team.html"
title="Team">Team</a></li><li><a shape="rect" class="external-link"
href="http://camel-extra.googlecode.com/" rel="nofollow">Camel Extra</a></li></ul>
+
+
+<h3><a shape="rect" name="Navigation-Developers"></a><a shape="rect"
href="developers.html" title="Developers">Developers</a></h3>
+
+<ul class="alternate" type="square"><li><a shape="rect" href="developers.html"
title="Developers">Developer Guide</a></li><li><a shape="rect" href="source.html"
title="Source">Source</a></li><li><a shape="rect" href="building.html"
title="Building">Building</a></li><li><a shape="rect" href="javadoc.html"
title="JavaDoc">JavaDoc</a></li><li><a shape="rect" href="irc-room.html"
title="IRC Room">IRC Room</a></li></ul>
+
+
+<h3><a shape="rect" name="Navigation-ApacheSoftwareFoundation"></a>Apache
Software Foundation</h3>
+
+<ul class="alternate" type="square"><li><a shape="rect" class="external-link"
href="http://www.apache.org/licenses/">License</a></li><li><a shape="rect"
class="external-link" href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li><li><a
shape="rect" class="external-link" href="http://www.apache.org/foundation/thanks.html">Thanks</a></li><li><a
shape="rect" class="external-link" href="http://www.apache.org/security/">Security</a></li></ul>
+</div>
+                <!-- NavigationBar -->
+            </div>
+          </div>
+        </td>
+        </tr>
+	</tbody>
+        </table>
+
+
+        <div class="bottom_red_bar"></div>
+      </div>
+    </div>
+  </div>
+</div>
+<div class="black_box">
+<div class="footer">
+  <div class="footer_l">
+    <div class="footer_r">
+      <div>
+        <a href="$base/privacy-policy.html">Privacy Policy</a> -
+        (<a href="https://cwiki.apache.org/confluence/pages/editpage.action?pageId=30747188">edit
page</a>)
+   	 (<a href="https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=30747188&amp;showComments=true&amp;showCommentArea=true#addcomment">add
comment</a>)
+      </div>
+    </div>
+  </div>
+</div>
+</div>
+</div>
+<div class="design_attribution">
+&copy; 2004-2011 The Apache Software Foundation.
+<br>          
+Apache Camel, Camel, Apache, the Apache feather logo, and the Apache Camel project logo are
trademarks of The Apache Software Foundation.  All other marks mentioned may be trademarks
or registered trademarks of their respective owners.
+<br>
+<a href="http://hiramchirino.com">Graphic Design By Hiram</a>
+</div>
+
+<!-- Camel committers that would like access to the Analytics, send a note to private@camel.apache.org
-->
+<script type="text/javascript">
+
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-25976253-1']);
+  _gaq.push(['_trackPageview']);
+
+  (function() {
+    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+  })();
+
+</script>
+
+</body>
+</html>
+
+



Mime
View raw message