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 2012/04/10 09:20:50 UTC

svn commit: r812141 - in /websites/production/camel/content: cache/main.pageCache camel-2100-release.html console-example.data/ console-example.data/run-as.png console-example.html console-example.thumbs/ console-example.thumbs/run-as.png examples.html

Author: buildbot
Date: Tue Apr 10 07:20:49 2012
New Revision: 812141

Log:
Production update by buildbot for camel

Added:
    websites/production/camel/content/console-example.data/
    websites/production/camel/content/console-example.data/run-as.png   (with props)
    websites/production/camel/content/console-example.html
    websites/production/camel/content/console-example.thumbs/
    websites/production/camel/content/console-example.thumbs/run-as.png   (with props)
Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/camel-2100-release.html
    websites/production/camel/content/examples.html

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

Modified: websites/production/camel/content/camel-2100-release.html
==============================================================================
--- websites/production/camel/content/camel-2100-release.html (original)
+++ websites/production/camel/content/camel-2100-release.html Tue Apr 10 07:20:49 2012
@@ -89,7 +89,7 @@
 
 <h3><a shape="rect" name="Camel2.10.0Release-Fixedissues"></a>Fixed issues</h3>
 
-<ul><li>Fixed memory leak when dynamically adding and removing many routes at runtime. See this <a shape="rect" href="memory-leak-when-adding-and-removing-routes-at-runtime.html" title="Memory leak when adding and removing routes at runtime">FAQ</a> for more information.</li><li>Fixed potential NPE in <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> consumer when using double slashes as starting directory.</li><li>Fixed <a shape="rect" href="intercept.html#Intercept-InterceptSendToEndpoint">InterceptSendToEndpoint</a> when using <tt>skipSendToEndpoint=true</tt> with a <a shape="rect" href="predicate.html" title="Predicate">when</a> predicate to only skip sending if the predicate was true.</li><li>Fixed an issue with <a shape="rect" href="bean-binding.html" title="Bean Binding">Bean Binding</a> directly in a method name not working properly with method call expressions.</li><li>Fixed issue with using custom namespaces in <a shape="rect" href="xpath.html" title="XPath">XP
 ath</a> expressions when using <a shape="rect" href="using-osgi-blueprint-with-camel.html" title="Using OSGi blueprint with Camel">OSGi Blueprint</a></li><li>Fixed <a shape="rect" href="validation.html" title="Validation">Validation</a> to support <tt>xs:import</tt> in the schema files.</li><li>Fixed <a shape="rect" href="content-enricher.html" title="Content Enricher">Poll Enrich</a> where the timeout was not explicitly configured to use blocking mode (was wrongly using non-blocking mode).</li><li>Fixed <a shape="rect" href="async.html" title="Async">Threads EIP</a> to handle rejected policies, ensuring the <a shape="rect" href="exchange.html" title="Exchange">Exchange</a> will finish the <tt>UnitOfWork</tt> and will be de-registered from the inflight registry.</li><li>Fixed <a shape="rect" href="delayer.html" title="Delayer">Delayer</a> not working with a <a shape="rect" href="bean.html" title="Bean">Bean</a> expression to define the delay when using XML DSL</li><li>Fixed 
 <a shape="rect" href="jms.html" title="JMS">JMS</a> consumer to no longer complain by default if no errorHandler is configured when an uncaught exception was thrown while processing a message.</li><li>Fixed the String trim issue in <a shape="rect" href="simple.html" title="Simple">Simple</a> expressions.</li><li>Fixed the issue with <a shape="rect" href="recipient-list.html" title="Recipient List">Recipient List</a> not triggering <a shape="rect" href="error-handler.html" title="Error Handler">Error Handler</a> for endpoints with non existing <a shape="rect" href="component.html" title="Component">Component</a>s.</li><li>Fixed <a shape="rect" href="load-balancer.html" title="Load Balancer">Load Balancer</a> to update statistics in <a shape="rect" href="camel-jmx.html" title="Camel JMX">JMX</a></li><li>Fixed <a shape="rect" href="seda.html" title="SEDA">SEDA</a> producer configured with <tt>waitForTaskToComplete=Always</tt> to not hand over on-completion tasks, which otherwis
 e could be processed prematurely.</li><li>Fixed a potential issue with configuring custom start and end tokens for the <a shape="rect" href="simple.html" title="Simple">Simple</a> language when using Spring XML.</li><li>Fixed an issue with <a shape="rect" href="type-converter.html" title="Type Converter">Type Converter</a> where NaN values were converted to integers.</li><li>Fixed <a shape="rect" href="http.html" title="HTTP">HTTP</a>, <a shape="rect" href="http4.html" title="HTTP4">HTTP4</a>, and <a shape="rect" href="jetty.html" title="Jetty">Jetty</a> producers to send empty HTTP headers for <a shape="rect" href="exchange.html" title="Exchange">Exchange</a> headers with an empty value.</li><li>Fixed an issue with configuring a custom thread pool profile on some <a shape="rect" href="eip.html" title="EIP">EIP</a>s.</li><li>Fixed an issue with <a shape="rect" href="intercept.html" title="Intercept">Intercept</a> causing processors to not update their performance statistics 
 in <a shape="rect" href="camel-jmx.html" title="Camel JMX">JMX</a></li><li>Fixed using &lt;errorHandler&gt; with embedded &lt;redeliveryPolicy&gt; to support <a shape="rect" href="using-propertyplaceholder.html" title="Using PropertyPlaceholder">Using PropertyPlaceholder</a></li><li>Fixed issue with using &lt;redeliveryPolicy&gt;, and &lt;redeliveryPolicyProfile&gt; with OSGi Blueprint.</li><li>Fixed failover <a shape="rect" href="load-balancer.html" title="Load Balancer">Load Balancer</a> to perform defensive copy of the message before attempting failover, to ensure previous attempts do not propagate back into succeeding attempts.</li><li>Fixed issue when restarting application using <a shape="rect" href="quartz.html" title="Quartz">Quartz</a> with a persistent (non clustered) job store, where the app was not shutdown cleanly (such as crashed)</li><li>Fixed issue when using consumer endpoints with <a shape="rect" href="using-propertyplaceholder.html" title="Using PropertyPl
 aceholder">Property placeholders</a> not working with <a shape="rect" href="intercept.html" title="Intercept">inteceptors</a> such as <tt>interceptFrom</tt>.</li><li>Fixed issue with suspend/resume a <a shape="rect" href="timer.html" title="Timer">Timer</a> consumer, not causing timer task to stop firing.</li><li>Fixed <a shape="rect" href="netty.html" title="Netty">Netty</a> producer to re-use existing connections when sending. This avoid re-creating a new connection for every message being sent.</li></ul>
+<ul><li>Fixed memory leak when dynamically adding and removing many routes at runtime. See this <a shape="rect" href="memory-leak-when-adding-and-removing-routes-at-runtime.html" title="Memory leak when adding and removing routes at runtime">FAQ</a> for more information.</li><li>Fixed potential NPE in <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> consumer when using double slashes as starting directory.</li><li>Fixed <a shape="rect" href="intercept.html#Intercept-InterceptSendToEndpoint">InterceptSendToEndpoint</a> when using <tt>skipSendToEndpoint=true</tt> with a <a shape="rect" href="predicate.html" title="Predicate">when</a> predicate to only skip sending if the predicate was true.</li><li>Fixed an issue with <a shape="rect" href="bean-binding.html" title="Bean Binding">Bean Binding</a> directly in a method name not working properly with method call expressions.</li><li>Fixed issue with using custom namespaces in <a shape="rect" href="xpath.html" title="XPath">XP
 ath</a> expressions when using <a shape="rect" href="using-osgi-blueprint-with-camel.html" title="Using OSGi blueprint with Camel">OSGi Blueprint</a></li><li>Fixed <a shape="rect" href="validation.html" title="Validation">Validation</a> to support <tt>xs:import</tt> in the schema files.</li><li>Fixed <a shape="rect" href="content-enricher.html" title="Content Enricher">Poll Enrich</a> where the timeout was not explicitly configured to use blocking mode (was wrongly using non-blocking mode).</li><li>Fixed <a shape="rect" href="async.html" title="Async">Threads EIP</a> to handle rejected policies, ensuring the <a shape="rect" href="exchange.html" title="Exchange">Exchange</a> will finish the <tt>UnitOfWork</tt> and will be de-registered from the inflight registry.</li><li>Fixed <a shape="rect" href="delayer.html" title="Delayer">Delayer</a> not working with a <a shape="rect" href="bean.html" title="Bean">Bean</a> expression to define the delay when using XML DSL</li><li>Fixed 
 <a shape="rect" href="jms.html" title="JMS">JMS</a> consumer to no longer complain by default if no errorHandler is configured when an uncaught exception was thrown while processing a message.</li><li>Fixed the String trim issue in <a shape="rect" href="simple.html" title="Simple">Simple</a> expressions.</li><li>Fixed the issue with <a shape="rect" href="recipient-list.html" title="Recipient List">Recipient List</a> not triggering <a shape="rect" href="error-handler.html" title="Error Handler">Error Handler</a> for endpoints with non existing <a shape="rect" href="component.html" title="Component">Component</a>s.</li><li>Fixed <a shape="rect" href="load-balancer.html" title="Load Balancer">Load Balancer</a> to update statistics in <a shape="rect" href="camel-jmx.html" title="Camel JMX">JMX</a></li><li>Fixed <a shape="rect" href="seda.html" title="SEDA">SEDA</a> producer configured with <tt>waitForTaskToComplete=Always</tt> to not hand over on-completion tasks, which otherwis
 e could be processed prematurely.</li><li>Fixed a potential issue with configuring custom start and end tokens for the <a shape="rect" href="simple.html" title="Simple">Simple</a> language when using Spring XML.</li><li>Fixed an issue with <a shape="rect" href="type-converter.html" title="Type Converter">Type Converter</a> where NaN values were converted to integers.</li><li>Fixed <a shape="rect" href="http.html" title="HTTP">HTTP</a>, <a shape="rect" href="http4.html" title="HTTP4">HTTP4</a>, and <a shape="rect" href="jetty.html" title="Jetty">Jetty</a> producers to send empty HTTP headers for <a shape="rect" href="exchange.html" title="Exchange">Exchange</a> headers with an empty value.</li><li>Fixed an issue with configuring a custom thread pool profile on some <a shape="rect" href="eip.html" title="EIP">EIP</a>s.</li><li>Fixed an issue with <a shape="rect" href="intercept.html" title="Intercept">Intercept</a> causing processors to not update their performance statistics 
 in <a shape="rect" href="camel-jmx.html" title="Camel JMX">JMX</a></li><li>Fixed using &lt;errorHandler&gt; with embedded &lt;redeliveryPolicy&gt; to support <a shape="rect" href="using-propertyplaceholder.html" title="Using PropertyPlaceholder">Using PropertyPlaceholder</a></li><li>Fixed issue with using &lt;redeliveryPolicy&gt;, and &lt;redeliveryPolicyProfile&gt; with OSGi Blueprint.</li><li>Fixed failover <a shape="rect" href="load-balancer.html" title="Load Balancer">Load Balancer</a> to perform defensive copy of the message before attempting failover, to ensure previous attempts do not propagate back into succeeding attempts.</li><li>Fixed issue when restarting application using <a shape="rect" href="quartz.html" title="Quartz">Quartz</a> with a persistent (non clustered) job store, where the app was not shutdown cleanly (such as crashed)</li><li>Fixed issue when using consumer endpoints with <a shape="rect" href="using-propertyplaceholder.html" title="Using PropertyPl
 aceholder">Property placeholders</a> not working with <a shape="rect" href="intercept.html" title="Intercept">inteceptors</a> such as <tt>interceptFrom</tt>.</li><li>Fixed issue with suspend/resume a <a shape="rect" href="timer.html" title="Timer">Timer</a> consumer, not causing timer task to stop firing.</li><li>Fixed <a shape="rect" href="netty.html" title="Netty">Netty</a> producer to re-use existing connections when sending. This avoid re-creating a new connection for every message being sent.</li><li>Fixed issue with <a shape="rect" href="simple.html" title="Simple">Simple</a> invoking overloaded methods using OGNL notation, where method name was explicit declare to invoke the no-parameter method</li></ul>
 
 
 <h3><a shape="rect" name="Camel2.10.0Release-NewEnterpriseIntegrationPatterns"></a>New <a shape="rect" href="enterprise-integration-patterns.html" title="Enterprise Integration Patterns">Enterprise Integration Patterns</a></h3>
@@ -112,7 +112,7 @@
 
 <h3><a shape="rect" name="Camel2.10.0Release-NewExamples"></a>New <a shape="rect" href="examples.html" title="Examples">Examples</a></h3>
 
-<ul><li><tt>camel-example-ssh</tt></li><li><tt>camel-example-twitter-websocket</tt></li></ul>
+<ul><li><tt>camel-example-ssh</tt></li><li><tt>camel-example-twitter-websocket</tt> - Shows how to use <a shape="rect" href="twitter-websocket-example.html" title="Twitter Websocket Example">Twitter to push live tweet updates to a webpage using Websocket</a>.</li><li><tt>camel-example-console</tt> - Is a new <a shape="rect" href="console-example.html" title="Console Example">beginner example</a>.</li></ul>
 
 
 <h3><a shape="rect" name="Camel2.10.0Release-NewTutorials"></a>New <a shape="rect" href="tutorials.html" title="Tutorials">Tutorials</a></h3>

Added: websites/production/camel/content/console-example.data/run-as.png
==============================================================================
Binary file - no diff available.

Propchange: websites/production/camel/content/console-example.data/run-as.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: websites/production/camel/content/console-example.html
==============================================================================
--- websites/production/camel/content/console-example.html (added)
+++ websites/production/camel/content/console-example.html Tue Apr 10 07:20:49 2012
@@ -0,0 +1,233 @@
+<!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: Console Example
+    </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="user-guide.html">User Guide</a>&nbsp;&gt;&nbsp;<a href="examples.html">Examples</a>&nbsp;&gt;&nbsp;<a href="console-example.html">Console Example</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="ConsoleExample-ConsoleExample"></a>Console Example</h2>
+<p><b>Available as of Camel 2.10</b></p>
+
+<p>This example is located in the <a shape="rect" href="download.html" title="Download">Camel distribution</a> at <tt>examples/camel-example-console</tt>.</p>
+
+<p>This is a beginner example that demonstrates how to get started with Apache Camel.</p>
+
+<p>In this example we integrate with the console using the <a shape="rect" href="stream.html" title="Stream">Stream</a> component. The example is an interactive example that reads input from the console, and then transforms the input to upper case and print it back on the console. </p>
+
+<p>This is implemented in a Camel route, in a Spring XML file as shown below.</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-xml"><span class="code-tag"><span class="code-comment">&lt;!-- camelContext is the Camel runtime, where we can host Camel routes --&gt;</span></span>
+<span class="code-tag">&lt;camelContext xmlns=<span class="code-quote">"http://camel.apache.org/schema/spring"</span>&gt;</span>
+  <span class="code-tag">&lt;route&gt;</span>
+    <span class="code-tag"><span class="code-comment">&lt;!-- read input from the console using the stream component --&gt;</span></span>
+    <span class="code-tag">&lt;from uri=<span class="code-quote">"stream:in?promptMessage=Enter something: "</span>/&gt;</span>
+    <span class="code-tag"><span class="code-comment">&lt;!-- transform the input to upper case using the simple language --&gt;</span></span>
+    <span class="code-tag"><span class="code-comment">&lt;!-- you can also use other languages such as groovy, ognl, mvel, javascript etc. --&gt;</span></span>
+    <span class="code-tag">&lt;transform&gt;</span>
+      <span class="code-tag">&lt;simple&gt;</span>${body.toUpperCase()}<span class="code-tag">&lt;/simple&gt;</span>
+    <span class="code-tag">&lt;/transform&gt;</span>
+    <span class="code-tag"><span class="code-comment">&lt;!-- and then print to the console --&gt;</span></span>
+    <span class="code-tag">&lt;to uri=<span class="code-quote">"stream:out"</span>/&gt;</span>
+  <span class="code-tag">&lt;/route&gt;</span>
+<span class="code-tag">&lt;/camelContext&gt;</span>
+</pre>
+</div></div>
+
+<p>This example can be run from the command line using Maven with the following command:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-java">
+mvn compile exec:java
+</pre>
+</div></div>
+
+<p>In the console you can enter a message and press ENTER. And then Camel responds with the message in upper case, as shown below:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-java">
+[onsole.CamelConsoleMain.main()] SpringCamelContext             INFO  Apache Camel 2.10 (CamelContext: camel-1) started in 0.455 seconds
+Enter something: camel rocks
+CAMEL ROCKS
+Enter something: and we have fun
+AND WE HAVE FUN
+Enter something: 
+</pre>
+</div></div>
+
+<p>To stop the example hit ctrl + c</p>
+
+<p>You can also run this example from your editor. For example from Eclipse you can import this project using: File -&gt; Import ... -&gt; Existing Maven Project -&gt; select the pom.xml from the examples\camel-example-console directory.</p>
+
+<p>And then open the org.apache.camel.example.console.CamelConsoleMain class, and right click: Run As -&gt; Java Application.</p>
+<div class="panelMacro"><table class="tipMacro"><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/check.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1">Click on the screenshot below, to make it bigger.</td></tr></table></div>
+<p><span class="image-wrap" style=""><a shape="rect" class="confluence-thumbnail-link 1151x739" href="console-example.data/run-as.png"><img src="console-example.thumbs/run-as.png" style="border: 0px solid black"></a></span></p>
+
+
+<h3><a shape="rect" name="ConsoleExample-Seealso"></a>See also</h3>
+<ul class="alternate" type="square"><li><a shape="rect" href="stream.html" title="Stream">Stream</a></li><li><a shape="rect" href="examples.html" title="Examples">Examples</a></li><li><a shape="rect" href="tutorials.html" title="Tutorials">Tutorials</a></li><li><a shape="rect" href="user-guide.html" title="User Guide">User Guide</a></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=27843710">edit page</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>
+
+

Added: websites/production/camel/content/console-example.thumbs/run-as.png
==============================================================================
Binary file - no diff available.

Propchange: websites/production/camel/content/console-example.thumbs/run-as.png
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Modified: websites/production/camel/content/examples.html
==============================================================================
--- websites/production/camel/content/examples.html (original)
+++ websites/production/camel/content/examples.html Tue Apr 10 07:20:49 2012
@@ -82,7 +82,7 @@
 <p>Before starting to work on example you may want to <a shape="rect" href="what-are-the-dependencies.html" title="What are the dependencies">check the requirements for working with Camel</a>. Then <a shape="rect" href="running-examples.html" title="Running Examples">Running Examples</a> describes how to get the examples to run</p>
 
 <h3><a shape="rect" name="Examples-Walkthroughs"></a>Walk throughs</h3>
-<ul><li><a shape="rect" href="walk-through-an-example.html" title="Walk through an Example">Walk through an Example</a> will walk through the code of the first example so you can understand how things fit together using a simple Java main(String[] args) method and using the <a shape="rect" href="dsl.html" title="DSL">DSL</a> to set up some routes.</li><li><a shape="rect" href="walk-through-another-example.html" title="Walk through another example">Walk through another example</a> we continue the walk and look at the Spring DSL (XML based) routing.</li></ul>
+<ul><li><a shape="rect" href="walk-through-an-example.html" title="Walk through an Example">Walk through an Example</a> will walk through the code of the first example so you can understand how things fit together using a simple Java main(String[] args) method and using the <a shape="rect" href="dsl.html" title="DSL">DSL</a> to set up some routes.</li><li><a shape="rect" href="walk-through-another-example.html" title="Walk through another example">Walk through another example</a> we continue the walk and look at the Spring DSL (XML based) routing.</li><li>Read the <a shape="rect" href="console-example.html" title="Console Example">Console Example</a> which is a simple beginner example.</li></ul>
 
 
 <div class="panelMacro"><table class="infoMacro"><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/information.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1"><b>Notice</b><br clear="none">These examples listed below, is hosted at Apache. We offer the <a shape="rect" href="articles.html" title="Articles">Articles</a> page where we have a link collection for 3rd party Camel material, such as tutorials, blog posts, published articles, videos, pod casts, presentations, and so forth.
@@ -91,7 +91,7 @@
 
 <h3><a shape="rect" name="Examples-Examples"></a>Examples</h3>
 
-<ul><li><a shape="rect" href="aggregate-example.html" title="Aggregate Example">Aggregate Example</a> shows the overhauled <a shape="rect" href="aggregator2.html" title="Aggregator2">Aggregator</a> EIP with persistent storage, which are part of Camel 2.3.</li><li><a shape="rect" href="bam-example.html" title="BAM Example">BAM Example</a> shows how to use Camel as a <a shape="rect" href="bam.html" title="BAM">BAM (Business Activity Monitoring)</a> framework, to monitor your business transactions.</li><li><a shape="rect" href="cafe-example.html" title="Cafe Example">Cafe Example</a> shows how to use Camel to implement a Cafe shop use case.</li><li><a shape="rect" href="cxf-example.html" title="CXF Example">CXF Example</a> shows how to use Camel as the CXF services router, which consumes the request of a CXF client then passes the request to a CXF-based web service.</li><li><a shape="rect" href="cxf-example-osgi-blueprint.html" title="CXF Example OSGi Blueprint">CXF Example OSG
 i Blueprint</a> shows how to use the camel-cxf consumer component in an OSGI environment using OSGi Blueprint with the OSGI HTTP service.</li><li><a shape="rect" href="cxf-example-osgi.html" title="CXF Example OSGi">CXF Example OSGi</a> shows how to use the camel-cxf consumer component in an OSGI environment using Spring-DM with the OSGI HTTP service.</li><li><a shape="rect" href="cxf-proxy-example.html" title="CXF Proxy Example">CXF Proxy Example</a> shows how to use Camel to proxy a web service using <a shape="rect" href="cxf.html" title="CXF">CXF</a>.</li><li><a shape="rect" href="cxf-tomcat-example.html" title="CXF Tomcat Example">CXF Tomcat Example</a> shows how to use Camel to expose a code-first web service using <a shape="rect" href="cxf.html" title="CXF">CXF</a> as a web application to be deployed in Apache Tomcat.</li><li><a shape="rect" href="etl-example.html" title="ETL Example">ETL Example</a> shows how to use Camel as an <a shape="rect" class="external-link" hr
 ef="http://en.wikipedia.org/wiki/Extract,_transform,_load" rel="nofollow">Extract Transform Load (ETL)</a> tool</li><li><a shape="rect" href="guice-jms-example.html" title="Guice JMS Example">Guice JMS Example</a> shows how to use <a shape="rect" href="guice.html" title="Guice">Guice</a> as the Dependency Injection framework to create some <a shape="rect" href="jms.html" title="JMS">JMS</a> base routes using just Java code and a properties file</li><li><a shape="rect" href="jmx-component-example.html" title="JMX Component Example">JMX Component Example</a> shows how to use the camel-jmx component.</li><li><a shape="rect" href="loadbalancing-mina-example.html" title="LoadBalancing Mina Example">LoadBalancing Mina Example</a> shows how to use the <a shape="rect" href="load-balancer.html" title="Load Balancer">Load Balancer</a> EIP to balance communication with remote servers using <a shape="rect" href="mina.html" title="MINA">MINA</a>.</li><li><a shape="rect" href="loan-broker
 -example.html" title="Loan Broker Example">Loan Broker Example</a> shows how to use Camel to implement the classical <a shape="rect" class="external-link" href="http://http://www.enterpriseintegrationpatterns.com/ComposedMessagingExample.html" rel="nofollow">EIP composed messaging sample </a>.</li><li><a shape="rect" href="management-example.html" title="Management Example">Management Example</a> shows how to use <a shape="rect" href="camel-jmx.html" title="Camel JMX">JMX</a> in Camel to manage a running Camel application.</li><li><a shape="rect" href="pojo-messaging-example.html" title="POJO Messaging Example">POJO Messaging Example</a> shows how to use annotations to produce, consume or route messages to Camel endpoints without using any DSL.</li><li><a shape="rect" href="route-throttling-example.html" title="Route Throttling Example">Route Throttling Example</a> shows how to use <a shape="rect" href="routepolicy.html" title="RoutePolicy">RoutePolicy</a> and <a shape="rect
 " href="camel-jmx.html" title="Camel JMX">JMX</a> in Camel to dynamically throttle routes.</li><li><a shape="rect" href="servlet-tomcat-example.html" title="Servlet Tomcat Example">Servlet Tomcat Example</a> shows how to use Camel to route messages using servlets running in Apache Tomcat.</li><li><a shape="rect" href="simple-jira-bot.html" title="Simple Jira Bot">Simple Jira Bot</a> shows how to use the camel-rss feed to send updates to an irc channel using camel-irc.</li><li><a shape="rect" href="spring-example.html" title="Spring Example">Spring Example</a> shows how to work with the Spring example using a Spring ApplicationContext to configure Camel with <a shape="rect" href="dsl.html" title="DSL">Java routing rules</a></li><li><a shape="rect" href="spring-java-config-example.html" title="Spring Java Config Example">Spring Java Config Example</a> shows how to use the <a shape="rect" class="external-link" href="http://www.springsource.org/javaconfig" rel="nofollow">Spring 
 java config</a> to configure the Camel with <a shape="rect" href="dsl.html" title="DSL">Java routing rules</a></li><li><a shape="rect" href="spring-security-example.html" title="Spring Security Example">Spring Security Example</a> shows how to implement a basic http authentication and role based authorization within a camel route by leverage the <a shape="rect" href="spring-security.html" title="Spring Security">camel-spring-security component</a>.</li><li><a shape="rect" href="spring-ws-example.html" title="Spring WS Example">Spring Web Services Example</a> shows how to expose a SOAP-based web service using Camel and Spring Web Services.</li><li><a shape="rect" href="spring-xquery-example.html" title="Spring XQuery Example">Spring XQuery Example</a> shows how to work with the Spring example using a Spring ApplicationContext to configure Camel</li><li><a shape="rect" href="tracer-example.html" title="Tracer Example">Tracer Example</a> shows how to use <a shape="rect" href="t
 racer.html" title="Tracer">Tracer</a> in Camel to trace how <a shape="rect" href="exchange.html" title="Exchange">Exchange</a> is routed.</li><li><a shape="rect" href="twitter-websocket-example.html" title="Twitter Websocket Example">Twitter Websocket Example</a> demonstrates how to poll a constant feed of twitter searches and publish results in real time using web socket to a web page.</li></ul>
+<ul><li><a shape="rect" href="aggregate-example.html" title="Aggregate Example">Aggregate Example</a> shows the overhauled <a shape="rect" href="aggregator2.html" title="Aggregator2">Aggregator</a> EIP with persistent storage, which are part of Camel 2.3.</li><li><a shape="rect" href="bam-example.html" title="BAM Example">BAM Example</a> shows how to use Camel as a <a shape="rect" href="bam.html" title="BAM">BAM (Business Activity Monitoring)</a> framework, to monitor your business transactions.</li><li><a shape="rect" href="cafe-example.html" title="Cafe Example">Cafe Example</a> shows how to use Camel to implement a Cafe shop use case.</li><li><a shape="rect" href="console-example.html" title="Console Example">Console Example</a> shows how to get stared with Camel using to read input from the console.</li><li><a shape="rect" href="cxf-example.html" title="CXF Example">CXF Example</a> shows how to use Camel as the CXF services router, which consumes the request of a CXF cli
 ent then passes the request to a CXF-based web service.</li><li><a shape="rect" href="cxf-example-osgi-blueprint.html" title="CXF Example OSGi Blueprint">CXF Example OSGi Blueprint</a> shows how to use the camel-cxf consumer component in an OSGI environment using OSGi Blueprint with the OSGI HTTP service.</li><li><a shape="rect" href="cxf-example-osgi.html" title="CXF Example OSGi">CXF Example OSGi</a> shows how to use the camel-cxf consumer component in an OSGI environment using Spring-DM with the OSGI HTTP service.</li><li><a shape="rect" href="cxf-proxy-example.html" title="CXF Proxy Example">CXF Proxy Example</a> shows how to use Camel to proxy a web service using <a shape="rect" href="cxf.html" title="CXF">CXF</a>.</li><li><a shape="rect" href="cxf-tomcat-example.html" title="CXF Tomcat Example">CXF Tomcat Example</a> shows how to use Camel to expose a code-first web service using <a shape="rect" href="cxf.html" title="CXF">CXF</a> as a web application to be deployed in
  Apache Tomcat.</li><li><a shape="rect" href="etl-example.html" title="ETL Example">ETL Example</a> shows how to use Camel as an <a shape="rect" class="external-link" href="http://en.wikipedia.org/wiki/Extract,_transform,_load" rel="nofollow">Extract Transform Load (ETL)</a> tool</li><li><a shape="rect" href="guice-jms-example.html" title="Guice JMS Example">Guice JMS Example</a> shows how to use <a shape="rect" href="guice.html" title="Guice">Guice</a> as the Dependency Injection framework to create some <a shape="rect" href="jms.html" title="JMS">JMS</a> base routes using just Java code and a properties file</li><li><a shape="rect" href="jmx-component-example.html" title="JMX Component Example">JMX Component Example</a> shows how to use the camel-jmx component.</li><li><a shape="rect" href="loadbalancing-mina-example.html" title="LoadBalancing Mina Example">LoadBalancing Mina Example</a> shows how to use the <a shape="rect" href="load-balancer.html" title="Load Balancer">L
 oad Balancer</a> EIP to balance communication with remote servers using <a shape="rect" href="mina.html" title="MINA">MINA</a>.</li><li><a shape="rect" href="loan-broker-example.html" title="Loan Broker Example">Loan Broker Example</a> shows how to use Camel to implement the classical <a shape="rect" class="external-link" href="http://http://www.enterpriseintegrationpatterns.com/ComposedMessagingExample.html" rel="nofollow">EIP composed messaging sample </a>.</li><li><a shape="rect" href="management-example.html" title="Management Example">Management Example</a> shows how to use <a shape="rect" href="camel-jmx.html" title="Camel JMX">JMX</a> in Camel to manage a running Camel application.</li><li><a shape="rect" href="pojo-messaging-example.html" title="POJO Messaging Example">POJO Messaging Example</a> shows how to use annotations to produce, consume or route messages to Camel endpoints without using any DSL.</li><li><a shape="rect" href="route-throttling-example.html" titl
 e="Route Throttling Example">Route Throttling Example</a> shows how to use <a shape="rect" href="routepolicy.html" title="RoutePolicy">RoutePolicy</a> and <a shape="rect" href="camel-jmx.html" title="Camel JMX">JMX</a> in Camel to dynamically throttle routes.</li><li><a shape="rect" href="servlet-tomcat-example.html" title="Servlet Tomcat Example">Servlet Tomcat Example</a> shows how to use Camel to route messages using servlets running in Apache Tomcat.</li><li><a shape="rect" href="simple-jira-bot.html" title="Simple Jira Bot">Simple Jira Bot</a> shows how to use the camel-rss feed to send updates to an irc channel using camel-irc.</li><li><a shape="rect" href="spring-example.html" title="Spring Example">Spring Example</a> shows how to work with the Spring example using a Spring ApplicationContext to configure Camel with <a shape="rect" href="dsl.html" title="DSL">Java routing rules</a></li><li><a shape="rect" href="spring-java-config-example.html" title="Spring Java Confi
 g Example">Spring Java Config Example</a> shows how to use the <a shape="rect" class="external-link" href="http://www.springsource.org/javaconfig" rel="nofollow">Spring java config</a> to configure the Camel with <a shape="rect" href="dsl.html" title="DSL">Java routing rules</a></li><li><a shape="rect" href="spring-security-example.html" title="Spring Security Example">Spring Security Example</a> shows how to implement a basic http authentication and role based authorization within a camel route by leverage the <a shape="rect" href="spring-security.html" title="Spring Security">camel-spring-security component</a>.</li><li><a shape="rect" href="spring-ws-example.html" title="Spring WS Example">Spring Web Services Example</a> shows how to expose a SOAP-based web service using Camel and Spring Web Services.</li><li><a shape="rect" href="spring-xquery-example.html" title="Spring XQuery Example">Spring XQuery Example</a> shows how to work with the Spring example using a Spring Ap
 plicationContext to configure Camel</li><li><a shape="rect" href="tracer-example.html" title="Tracer Example">Tracer Example</a> shows how to use <a shape="rect" href="tracer.html" title="Tracer">Tracer</a> in Camel to trace how <a shape="rect" href="exchange.html" title="Exchange">Exchange</a> is routed.</li><li><a shape="rect" href="twitter-websocket-example.html" title="Twitter Websocket Example">Twitter Websocket Example</a> demonstrates how to poll a constant feed of twitter searches and publish results in real time using web socket to a web page.</li></ul>
 
 
 <div class="panelMacro"><table class="tipMacro"><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/check.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1"><b>More examples</b><br clear="none">See also <a shape="rect" href="tutorials.html" title="Tutorials">Tutorials</a> for more examples, as well as <a shape="rect" href="cookbook.html" title="Cookbook">Cookbook</a>.</td></tr></table></div>