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 2014/11/24 10:18:40 UTC
svn commit: r930281 - in /websites/production/camel/content:
cache/main.pageCache spring-boot.html
Author: buildbot
Date: Mon Nov 24 09:18:39 2014
New Revision: 930281
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 Mon Nov 24 09:18:39 2014
@@ -163,7 +163,7 @@ public class MyAppConfig {
}
}]]></script>
-</div></div><p>Method <span>C<code>amelContextConfiguration#</code></span><code><span style="line-height: 1.4285715;">beforeApplicationStart(CamelContext)</span></code><span style="line-height: 1.4285715;"> will be called just before the Spring context is started, so the <span><code>CamelContext</code> instance passed to this callback is fully</span> auto-configured .</span></p><h3 id="SpringBoot-DisablingJMX">Disabling JMX</h3><p>To disable JMX of the auto-configured <code>CamelContext</code> use <code>camel.springboot.jmxEnabled</code> property (JMX is enabled by default). For example you could add the following property to your <code>application.properties</code> file:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>Method <span>C<code>amelContextConfiguration#</code></span><code><span style="line-height: 1.4285715;">beforeApplicationStart(CamelContext)</span></code><span style="line-height: 1.4285715;"> will be called just before the Spring context is started, so the <span><code>CamelContext</code> instance passed to this callback is fully</span> auto-configured. You can add many instances of C<code>amelContextConfiguration</code> into your Spring context - all of them will be executed.</span></p><h3 id="SpringBoot-DisablingJMX">Disabling JMX</h3><p>To disable JMX of the auto-configured <code>CamelContext</code> use <code>camel.springboot.jmxEnabled</code> property (JMX is enabled by default). For example you could add the following property to your <code>application.properties</code> file:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[camel.springboot.jmxEnabled = false]]></script>
</div></div><h3 id="SpringBoot-Auto-configuredconsumerandproducertemplates">Auto-configured consumer and producer templates</h3><p>Camel auto-configuration provides a pre-configured <code>ConsumerTemplate</code> and <code>ProducerTemplate</code> instances. You can simply inject them into your Spring-managed beans:</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[@Component