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/04/24 13:19:52 UTC

svn commit: r949021 - in /websites/production/camel/content: cache/main.pageCache examples.html spring-boot-example.html

Author: buildbot
Date: Fri Apr 24 11:19:52 2015
New Revision: 949021

Log:
Production update by buildbot for camel

Added:
    websites/production/camel/content/spring-boot-example.html
Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/examples.html

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

Modified: websites/production/camel/content/examples.html
==============================================================================
--- websites/production/camel/content/examples.html (original)
+++ websites/production/camel/content/examples.html Fri Apr 24 11:19:52 2015
@@ -75,46 +75,21 @@
 	<tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 id="Examples-Examples">Examples</h2>
-
-<p>Once you have read about <a shape="rect" href="getting-started.html">Getting Started</a> and looked at the <a shape="rect" href="enterprise-integration-patterns.html">Enterprise Integration Patterns</a>, you might want to try out some examples.</p>
-
-<p>Before starting to work on example you may want to <a shape="rect" href="what-are-the-dependencies.html">check the requirements for working with Camel</a>. Then <a shape="rect" href="running-examples.html">Running Examples</a> describes how to get the examples to run</p>
-
-<h3 id="Examples-Walk-throughs">Walk-throughs</h3>
-<ul><li>Walk through the code of a <a shape="rect" href="walk-through-an-example.html">beginner's example</a> so you can understand how things fit together using the Java <a shape="rect" href="dsl.html">DSL</a> to set up some routes in a simple <code>main(&#8230;)</code> method.</li><li>Walk through the <a shape="rect" href="walk-through-another-example.html">Spring DSL example</a> to look at XML-based routing.</li><li>Walk through the <a shape="rect" href="console-example.html">Console Example</a> to practice reading input from the console.</li></ul>
-
-
-    <div class="aui-message hint shadowed information-macro">
+<div class="wiki-content maincontent"><h2 id="Examples-Examples">Examples</h2><p>Once you have read about <a shape="rect" href="getting-started.html">Getting Started</a> and looked at the <a shape="rect" href="enterprise-integration-patterns.html">Enterprise Integration Patterns</a>, you might want to try out some examples.</p><p>Before starting to work on example you may want to <a shape="rect" href="what-are-the-dependencies.html">check the requirements for working with Camel</a>. Then <a shape="rect" href="running-examples.html">Running Examples</a> describes how to get the examples to run</p><h3 id="Examples-Walk-throughs">Walk-throughs</h3><ul><li>Walk through the code of a <a shape="rect" href="walk-through-an-example.html">beginner's example</a> so you can understand how things fit together using the Java <a shape="rect" href="dsl.html">DSL</a> to set up some routes in a simple <code>main(&#8230;)</code> method.</li><li>Walk through the <a shape="rect" href="walk-through-anot
 her-example.html">Spring DSL example</a> to look at XML-based routing.</li><li>Walk through the <a shape="rect" href="console-example.html">Console Example</a> to practice reading input from the console.</li></ul>    <div class="aui-message hint shadowed information-macro">
                     <p class="title">Notice</p>
                             <span class="aui-icon icon-hint">Icon</span>
                 <div class="message-content">
-                            
-<p>The examples listed below are hosted at Apache. We also offer the <a shape="rect" href="articles.html">Articles</a> page as a collection of 3rd-party Camel material - such as tutorials, blog posts, published articles, videos, podcasts, presentations, and so forth.</p>
-
-<p>If you have written a Camel-related article, then we are happy to provide a link to it. You can contact the Camel <a shape="rect" href="team.html">Team</a> via our <a shape="rect" href="mailing-lists.html">Mailing Lists</a>, or simply post a tweet with the words "Apache Camel".</p>
+                            <p>The examples listed below are hosted at Apache. We also offer the <a shape="rect" href="articles.html">Articles</a> page as a collection of 3rd-party Camel material - such as tutorials, blog posts, published articles, videos, podcasts, presentations, and so forth.</p><p>If you have written a Camel-related article, then we are happy to provide a link to it. You can contact the Camel <a shape="rect" href="team.html">Team</a> via our <a shape="rect" href="mailing-lists.html">Mailing Lists</a>, or simply post a tweet with the words "Apache Camel".</p>
                     </div>
     </div>
-
-
-<h3 id="Examples-Examples.1">Examples</h3>
-
-<ul><li><a shape="rect" href="activemq-camel-tomcat.html">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">Aggregate Example</a> shows the overhauled <a shape="rect" href="aggregator2.html">Aggregator</a> EIP with persistent storage, which are part of Camel 2.3.</li><li><a shape="rect" href="bam-example.html">BAM Example</a> shows how to use Camel as a <a shape="rect" href="bam.html">BAM (Business Activity Monitoring)</a> framework, to monitor your business transactions.</li><li><a shape="rect" href="cafe-example.html">Cafe Example</a> shows how to use Camel to implement a Cafe shop use case.</li><li><a shape="rect" href="console-example.html">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">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">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">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">CXF Proxy Example</a> shows how to use Camel to proxy a web service using <a shape="rect" href="cxf.html">CXF</a>.</li><li><a shape="rect" href="cxf-tomcat-example.html">CXF Tomcat Example</a> shows how to use Camel to expose a code-first web service using <a shape="rect" href="cxf.html">CXF</a> as a web application to be deployed in Apache Tomcat.</li><li><a shape="rect" href="etl-example.html">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="ftp-example.html">FTP Example</a> shows how to use Camel to upload or download files to/from an existing FTP server.</li><li><a shape="rect" href="guice-jms-example.html">Guice JMS Example</a> shows how to use <a shape="rect" href="guice.html">Guice</a> as the Dependency Injection framework to create some <a shape="rect" href="jms.html">JMS</a> base routes using just Java code and a properties file</li><li><a shape="rect" href="hibernate-example.html">Hibernate Example</a> shows how to work with <a shape="rect" href="hibernate.html">Hibernate</a> to exchange data using a shared database table.</li><li><a shape="rect" href="jmx-component-example.html">JMX Component Example</a> shows how to use the camel-jmx component.</li><li><a shape="rect" href="loadbalancing-mina-example.html">LoadBalancing Mina Example</
 a> shows how to use the <a shape="rect" href="load-balancer.html">Load Balancer</a> EIP to balance communication with remote servers using <a shape="rect" href="mina.html">Mina</a>.</li><li><a shape="rect" href="loan-broker-example.html">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">Management Example</a> shows how to use <a shape="rect" href="camel-jmx.html">JMX</a> in Camel to manage a running Camel application.</li><li><a shape="rect" href="mybatis-example.html">MyBatis Example</a> shows how to work with <a shape="rect" href="mybatis.html">MyBatis</a> to exchange data using a shared database table.</li><li><a shape="rect" href="netty-http-server-example.html">Netty HTTP Server Example</a> shows how to use <a shape="rect" hr
 ef="netty-http.html">Netty HTTP</a> as a shared HTTP server with multiple Camel applications in OSGi container such as Karaf / ServiceMix.</li><li><a shape="rect" href="pojo-messaging-example.html">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">Route Throttling Example</a> shows how to use <a shape="rect" href="routepolicy.html">RoutePolicy</a> and <a shape="rect" href="camel-jmx.html">JMX</a> in Camel to dynamically throttle routes.</li><li><a shape="rect" href="servlet-tomcat-example.html">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">Servlet Tomcat No Spring Example</a> shows how to use Camel to route messages using servlets running any web container such as Apache Tomcat witho
 ut using the Spring Framework.</li><li><a shape="rect" href="simple-jira-bot.html">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">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">Java routing rules</a></li><li><a shape="rect" href="spring-java-config-example.html">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">Java routing rules</a></li><li><a shape="rect" href="spring-security-example.html">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">camel-spring-
 security component</a>.</li><li><a shape="rect" href="spring-ws-example.html">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">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">SQL Example</a> shows how to work with <a shape="rect" href="sql-component.html">SQL</a> to exchange data using a shared database table.</li><li><a shape="rect" href="tracer-example.html">Tracer Example</a> shows how to use <a shape="rect" href="tracer.html">Tracer</a> in Camel to trace how <a shape="rect" href="exchange.html">Exchange</a> is routed.</li><li><a shape="rect" href="twitter-websocket-example.html">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><li
 ><a shape="rect" href="twitter-websocket-blueprint-example.html">Twitter Websocket Blueprint Example</a> An OSGi Blueprint version of the <a shape="rect" href="twitter-websocket-example.html">Twitter Websocket Example</a>.</li></ul>
-
-
-    <div class="aui-message success shadowed information-macro">
+<h3 id="Examples-Examples.1">Examples</h3><ul><li><a shape="rect" href="activemq-camel-tomcat.html">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">Aggregate Example</a> shows the overhauled <a shape="rect" href="aggregator2.html">Aggregator</a> EIP with persistent storage, which are part of Camel 2.3.</li><li><a shape="rect" href="bam-example.html">BAM Example</a> shows how to use Camel as a <a shape="rect" href="bam.html">BAM (Business Activity Monitoring)</a> framework, to monitor your business transactions.</li><li><a shape="rect" href="cafe-example.html">Cafe Example</a> shows how to use Camel to implement a Cafe shop use case.</li><li><a shape="rect" href="console-example.html">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">CXF Example</a> shows how to us
 e 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">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">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">CXF Proxy Example</a> shows how to use Camel to proxy a web service using <a shape="rect" href="cxf.html">CXF</a>.</li><li><a shape="rect" href="cxf-tomcat-example.html">CXF Tomcat Example</a> shows how to use Camel to expose a code-first web service using <a shape="rect" href="cxf.html">CXF</a> as a web application to be deployed in Apache Tomcat.</li><li><a shape="rect" href="etl-example.html">ETL Ex
 ample</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="ftp-example.html">FTP Example</a> shows how to use Camel to upload or download files to/from an existing FTP server.</li><li><a shape="rect" href="guice-jms-example.html">Guice JMS Example</a> shows how to use <a shape="rect" href="guice.html">Guice</a> as the Dependency Injection framework to create some <a shape="rect" href="jms.html">JMS</a> base routes using just Java code and a properties file</li><li><a shape="rect" href="hibernate-example.html">Hibernate Example</a> shows how to work with <a shape="rect" href="hibernate.html">Hibernate</a> to exchange data using a shared database table.</li><li><a shape="rect" href="jmx-component-example.html">JMX Component Example</a> shows how to use the camel-jmx component.</li><li><a shape="rect" href="loadbalancing-mina-
 example.html">LoadBalancing Mina Example</a> shows how to use the <a shape="rect" href="load-balancer.html">Load Balancer</a> EIP to balance communication with remote servers using <a shape="rect" href="mina.html">MINA</a>.</li><li><a shape="rect" href="loan-broker-example.html">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">Management Example</a> shows how to use <a shape="rect" href="camel-jmx.html">JMX</a> in Camel to manage a running Camel application.</li><li><a shape="rect" href="mybatis-example.html">MyBatis Example</a> shows how to work with <a shape="rect" href="mybatis.html">MyBatis</a> to exchange data using a shared database table.</li><li><a shape="rect" href="netty-http-server-example.html">Netty HTTP Server Exampl
 e</a> shows how to use <a shape="rect" href="netty-http.html">Netty HTTP</a> as a shared HTTP server with multiple Camel applications in OSGi container such as Karaf / ServiceMix.</li><li><a shape="rect" href="pojo-messaging-example.html">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">Route Throttling Example</a> shows how to use <a shape="rect" href="routepolicy.html">RoutePolicy</a> and <a shape="rect" href="camel-jmx.html">JMX</a> in Camel to dynamically throttle routes.</li><li><a shape="rect" href="servlet-tomcat-example.html">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">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">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">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">Java routing rules</a></li><li><a shape="rect" href="spring-boot-example.html">Spring Boot Example</a> shows&#160;how to work with the simple Camel application based on the&#160;<a shape="rect" href="https://cwiki.apache.org/confluence/display/CAMEL/Spring+Boot">Spring Boot</a>.</li><li><a shape="rect" href="spring-java-config-example.html">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" hre
 f="dsl.html">Java routing rules</a></li><li><a shape="rect" href="spring-security-example.html">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">camel-spring-security component</a>.</li><li><a shape="rect" href="spring-ws-example.html">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">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">SQL Example</a> shows how to work with <a shape="rect" href="sql-component.html">SQL</a> to exchange data using a shared database table.</li><li><a shape="rect" href="tracer-example.html">Tracer Example</a> shows how to use <a shape="rect" href="tracer.html">Tracer</a> in Camel t
 o trace how <a shape="rect" href="exchange.html">Exchange</a> is routed.</li><li><a shape="rect" href="twitter-websocket-example.html">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><li><a shape="rect" href="twitter-websocket-blueprint-example.html">Twitter Websocket Blueprint Example</a> An OSGi Blueprint version of the <a shape="rect" href="twitter-websocket-example.html">Twitter Websocket Example</a>.</li></ul>    <div class="aui-message success shadowed information-macro">
                     <p class="title">More examples</p>
                             <span class="aui-icon icon-success">Icon</span>
                 <div class="message-content">
-                            
-<p>See also <a shape="rect" href="tutorials.html">Tutorials</a> for more examples, as well as <a shape="rect" href="cookbook.html">Cookbook</a>.</p>
+                            <p>See also <a shape="rect" href="tutorials.html">Tutorials</a> for more examples, as well as <a shape="rect" href="cookbook.html">Cookbook</a>.</p>
                     </div>
     </div>
-
-
-<h2 id="Examples-SeeAlso">See Also</h2>
-
-<ul><li><a shape="rect" href="tutorials.html">Tutorials</a></li><li><a shape="rect" href="cookbook.html">Cookbook</a></li><li><a shape="rect" href="enterprise-integration-patterns.html">Enterprise Integration Patterns</a></li></ul></div>
+<h2 id="Examples-SeeAlso">See Also</h2><ul><li><a shape="rect" href="tutorials.html">Tutorials</a></li><li><a shape="rect" href="cookbook.html">Cookbook</a></li><li><a shape="rect" href="enterprise-integration-patterns.html">Enterprise Integration Patterns</a></li></ul></div>
         </td>
         <td valign="top">
           <div class="navigation">

Added: websites/production/camel/content/spring-boot-example.html
==============================================================================
--- websites/production/camel/content/spring-boot-example.html (added)
+++ websites/production/camel/content/spring-boot-example.html Fri Apr 24 11:19:52 2015
@@ -0,0 +1,162 @@
+<!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="//camel.apache.org/styles/site.css" rel="stylesheet" type="text/css">
+    <link href="//camel.apache.org/styles/type-settings.css" rel="stylesheet" type="text/css">
+    <script src="//camel.apache.org/styles/prototype.js" type="text/javascript"></script>
+    <script src="//camel.apache.org/styles/rico.js" type="text/javascript"></script>    
+    <script src="//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]-->
+
+
+  <link href='//camel.apache.org/styles/highlighter/styles/shCoreCamel.css' rel='stylesheet' type='text/css' />
+  <link href='//camel.apache.org/styles/highlighter/styles/shThemeCamel.css' rel='stylesheet' type='text/css' />
+  <script src='//camel.apache.org/styles/highlighter/scripts/shCore.js' type='text/javascript'></script>
+  <script src='//camel.apache.org/styles/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
+  
+  <script type="text/javascript">
+  SyntaxHighlighter.defaults['toolbar'] = false;
+  SyntaxHighlighter.all();
+  </script>
+
+    <title>
+    Apache Camel: Spring Boot 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="spring-boot-example.html">Spring Boot Example</a>
+          </div>
+          <!-- Quicklinks -->
+<div id="site-quicklinks"><p><a shape="rect" href="download.html">Download</a> | <a shape="rect" href="javadoc.html">JavaDoc</a> | <a shape="rect" href="source.html">Source</a> | <a shape="rect" href="discussion-forums.html">Forums</a> | <a shape="rect" href="support.html">Support</a></p></div>
+          <!-- Quicklinks -->
+        </div>
+
+	<table border="0">
+	<tbody>
+        <tr>
+        <td valign="top" width="100%">
+<div class="wiki-content maincontent"><h2 id="SpringBootExample-SpringBootExample">Spring Boot Example</h2><p>The <a shape="rect" class="external-link" href="https://github.com/apache/camel/tree/master/examples/camel-example-spring-boot" rel="nofollow">Spring Boot example</a> shows how to work with the simple Camel application based on the <a shape="rect" href="spring-boot.html">Spring Boot</a>.</p><p>The example generates messages using timer trigger, writes them to the standard output and the mock endpoint (for testing purposes).</p><p>This example exposes Jolokia API and Spring Boot actuators endpoints (like metrics) via the webmvc endpoint. We consider this as the best practice - Spring Boot applications with these API exposed can be easily monitored and managed by the 3rd parties tools. We recommend to package your application as a fat WAR. Fat WARs can be executed just as regular fat jars, but you can also deploy them to the servlet containers like Tomcat. Fat WAR approach giv
 es you the deployment flexibility, so we highly recommend it.</p><p>You will need to compile this example first:</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 install]]></script>
+</div></div><p>To run the example type:</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 spring-boot:run]]></script>
+</div></div><p>You can also execute the fat WAR directly:</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[java -jar target/camel-example-spring-boot-2.x-SNAPSHOT.war]]></script>
+</div></div><p>You will see the message printed to the console every second. To stop the example hit <code>ctrl + c</code>.</p></div>
+        </td>
+        <td valign="top">
+          <div class="navigation">
+            <div class="navigation_top">
+                <!-- NavigationBar -->
+<div class="navigation_bottom" id="navigation_bottom"><h3 id="Navigation-Overview"><a shape="rect" href="overview.html">Overview</a></h3><ul class="alternate"><li><a shape="rect" href="index.html">Home</a></li><li><a shape="rect" href="download.html">Download</a></li><li><a shape="rect" href="getting-started.html">Getting Started</a></li><li><a shape="rect" href="faq.html">FAQ</a></li></ul><h3 id="Navigation-Documentation"><a shape="rect" href="documentation.html">Documentation</a></h3><ul class="alternate"><li><a shape="rect" href="user-guide.html">User Guide</a></li><li><a shape="rect" href="manual.html">Manual</a></li><li><a shape="rect" href="books.html">Books</a></li><li><a shape="rect" href="tutorials.html">Tutorials</a></li><li><a shape="rect" href="examples.html">Examples</a></li><li><a shape="rect" href="cookbook.html">Cookbook</a></li><li><a shape="rect" href="architecture.html">Architecture</a></li><li><a shape="rect" href="enterprise-integration-patterns.html">Enterprise
  Integration Patterns</a></li><li><a shape="rect" href="dsl.html">DSL</a></li><li><a shape="rect" href="components.html">Components</a></li><li><a shape="rect" href="data-format.html">Data Format</a></li><li><a shape="rect" href="languages.html">Languages</a></li><li><a shape="rect" href="security.html">Security</a></li><li><a shape="rect" href="security-advisories.html">Security Advisories</a></li></ul><h3 id="Navigation-Search">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 id="Navigation-Community"><a shape="rect" href="community.html">Community</a></h3><ul class="alternate"><li><a shape="rect" href="support.html">Support</a></li><li><a shape="rect" href="contributing.html">Contributing</a></li><li><a shape="rect" href="discussion-forums.html">Discussion Forums</a></li><li><a shape="rect" href="mailing-lists.html">Mailing Lists</a></li><li><a shape="rect" href="user-stories.html">User Stories</a></li><li><a shape="rect" href="news.html">News</a></li><li><a shape="rect" href="articles.html">Articles</a></li><li><a shape="rect" href="site.html">Site</a></li><li><a shape="rect" href="team.html">Team</a></li><li><a shape="rect" class="external-link" href="http://camel-extra.googlecode.com/" rel="nofollow">Camel Extra</a></li></ul><h3 id="Navigation-Developers"><a shape="rect" href="developers.html">Developers</a></h3><ul class="alternate"
 ><li><a shape="rect" href="developers.html">Developer Guide</a></li><li><a shape="rect" href="source.html">Source</a></li><li><a shape="rect" href="building.html">Building</a></li><li><a shape="rect" href="javadoc.html">JavaDoc</a></li><li><a shape="rect" href="irc-room.html">IRC Room</a></li></ul><h3 id="Navigation-ApacheSoftwareFoundation">Apache Software Foundation</h3><ul class="alternate"><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=56066314">edit page</a>)
+   	 (<a href="https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=56066314&amp;showComments=true&amp;showCommentArea=true#addcomment">add comment</a>)
+      </div>
+    </div>
+  </div>
+</div>
+</div>
+</div>
+<div class="design_attribution">
+&copy; 2004-2015 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>
+
+