Author: buildbot Date: Fri Jan 18 12:18:32 2013 New Revision: 847134 Log: Production update by buildbot for camel
Modified: websites/production/camel/content/cache/main.pageCache websites/production/camel/content/camel-2110-release.html websites/production/camel/content/examples.html websites/production/camel/content/sql-example.html Modified: websites/production/camel/content/cache/main.pageCache ============================================================================== Binary files - no diff available. Modified: websites/production/camel/content/camel-2110-release.html ============================================================================== --- websites/production/camel/content/camel-2110-release.html (original) +++ websites/production/camel/content/camel-2110-release.html Fri Jan 18 12:18:32 2013 @@ -122,7 +122,7 @@ <h3><a shape="rect" name="Camel2.11.0Release-NewExamples"></a>New <a shape="rect" href="examples.html" title="Examples">Examples</a></h3> -<ul><li><a shape="rect" href="activemq-camel-tomcat.html" title="ActiveMQ Camel Tomcat">ActiveMQ Camel Tomcat</a> example shows how to embed Apache ActiveMQ and Camel in a web application running on Apache Tomcat.</li><li><a shape="rect" href="servlet-tomcat-no-spring-example.html" title="Servlet Tomcat No Spring Example">Servlet Tomcat No Spring Example</a> example shows how to run Camel as a web application in any web container such as Apache Tomcat, without the need for Spring Framework.</li></ul> +<ul><li><a shape="rect" href="activemq-camel-tomcat.html" title="ActiveMQ Camel Tomcat">ActiveMQ Camel Tomcat</a> example shows how to embed Apache ActiveMQ and Camel in a web application running on Apache Tomcat.</li><li><a shape="rect" href="servlet-tomcat-no-spring-example.html" title="Servlet Tomcat No Spring Example">Servlet Tomcat No Spring Example</a> example shows how to run Camel as a web application in any web container such as Apache Tomcat, without the need for Spring Framework.</li><li><a shape="rect" href="sql-example.html" title="SQL Example">SQL Example</a> shows how to work with <a shape="rect" href="sql-component.html" title="SQL Component">SQL</a> to exchange data using a shared database table.</li></ul> <h3><a shape="rect" name="Camel2.11.0Release-NewTutorials"></a>New <a shape="rect" href="tutorials.html" title="Tutorials">Tutorials</a></h3> Modified: websites/production/camel/content/examples.html ============================================================================== --- websites/production/camel/content/examples.html (original) +++ websites/production/camel/content/examples.html Fri Jan 18 12:18:32 2013 @@ -91,7 +91,7 @@ <h3><a shape="rect" name="Examples-Examples"></a>Examples</h3> -<ul><li><a shape="rect" href="activemq-camel-tomcat.html" title="ActiveMQ Camel Tomcat">ActiveMQ Camel Tomcat</a> example shows how to embed Apache ActiveMQ and Camel in a web application running on Apache Tomcat.</li><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 Came l 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 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 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-exam ple.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">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 Messag ing 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 any web container such as Apache Tomcat.</li><li><a shape="rect" href="servlet-tomcat-no-spring-example.html" title="Servlet Tomcat No Spring Example">Servlet Tomcat No Spring Example</a> shows how to use Camel to route messages using servlets running any web container such as Apache Tomcat without using the Spring Framework.</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 ba sed 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="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 co nstant 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="activemq-camel-tomcat.html" title="ActiveMQ Camel Tomcat">ActiveMQ Camel Tomcat</a> example shows how to embed Apache ActiveMQ and Camel in a web application running on Apache Tomcat.</li><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 Came l 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 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 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-exam ple.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">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 Messag ing 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 any web container such as Apache Tomcat.</li><li><a shape="rect" href="servlet-tomcat-no-spring-example.html" title="Servlet Tomcat No Spring Example">Servlet Tomcat No Spring Example</a> shows how to use Camel to route messages using servlets running any web container such as Apache Tomcat without using the Spring Framework.</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 ba sed 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="sql-example.html" title="SQL Example">SQL Example</a> shows how to work with <a shape="rect" href="sql-component.html" title="SQL Component">SQL</a> to exchange data using a shared database table.</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 sha pe="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> Modified: websites/production/camel/content/sql-example.html ============================================================================== --- websites/production/camel/content/sql-example.html (original) +++ websites/production/camel/content/sql-example.html Fri Jan 18 12:18:32 2013 @@ -155,8 +155,13 @@ The second route pickup the newly insert </div></div> <p>Notice how we have externalized the SQL queries, and use Camels <a shape="rect" href="using-propertyplaceholder.html" title="Using PropertyPlaceholder">property placeholder</a> to refer to the <tt>sql.properties</tt> file.</p> + +<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>Using named query parameters</b><br clear="none">Notice in the SQL queries below we use named parameters which must start with prefix ':#' and then the name, eg :#amount. Then Camel will bind that parameter with the given name, from the<br clear="none"> +message body (if its a <tt>java.util.Map</tt>) or from a message header with the name. If none parameter could be found, Camel throws an exception.</td></tr></table></div> + <div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>SQL queries</b></div><div class="codeContent panelContent"> -<pre class="code-java">## sql that insert <span class="code-keyword">new</span> orders +<pre class="code-java">## notice we use named parameters in the queries, eg :#name. A named query parameter must start with :# +## sql that insert <span class="code-keyword">new</span> orders sql.insertOrder=insert into orders (id, item, amount, description, processed) values (:#id, :#item, :#amount, :#description, <span class="code-keyword">false</span>) ## sql that select all unprocessed orders