Author: buildbot Date: Tue Apr 12 21:18:36 2016 New Revision: 985515 Log: Production update by buildbot for camel
Modified: websites/production/camel/content/cache/main.pageCache websites/production/camel/content/spring-boot.html Modified: websites/production/camel/content/cache/main.pageCache ============================================================================== Binary files - no diff available. Modified: websites/production/camel/content/spring-boot.html ============================================================================== --- websites/production/camel/content/spring-boot.html (original) +++ websites/production/camel/content/spring-boot.html Tue Apr 12 21:18:36 2016 @@ -112,7 +112,7 @@ public class MyRoute extends RouteBuilde from("timer:foo").to("log:bar"); } }]]></script> -</div></div><p>Then these routes will be started automatically.</p><p>You can customize the Camel application in the <code>application.properties</code> or <code>application.yml</code> file. </p><h3 id="SpringBoot-Auto-configuredCamelcontext"><span style="line-height: 1.5625;">Auto-configured Camel context</span></h3><p>The most important piece of functionality provided by the Camel auto-configuration is <code>CamelContext</code> instance. Camel auto-configuration creates a <code>SpringCamelContext</code> for you and takes care of the proper initialization and shutdown of that context. The created Camel context is also registered in the Spring application context (under <code>camelContext</code> bean name), so you can access it just as  any other Spring bean.</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> +</div></div><p>Then these routes will be started automatically. To keep the main thread blocked so that Camel stays up, either include the <em>spring-boot-starter-web</em> dependency, or add camel.springboot.main-run-controller=true to your <code>application.properties</code> or <code>application.yml</code> file. </p><p>You can further customize the Camel application in the <code>application.properties</code> or <code>application.yml</code> file with <em>camel.springboot.* properties.</em></p><h3 id="SpringBoot-Auto-configuredCamelcontext"><span style="line-height: 1.5625;">Auto-configured Camel context</span></h3><p>The most important piece of functionality provided by the Camel auto-configuration is <code>CamelContext</code> instance. Camel auto-configuration creates a <code>SpringCamelContext</code> for you and takes care of the proper initialization and shutdown of that context. The created Camel context is also registe red in the Spring application context (under <code>camelContext</code> bean name), so you can access it just as  any other Spring bean.</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[@Configuration public class MyAppConfig {