Author: buildbot
Date: Thu Nov  6 10:18:30 2014
New Revision: 928125

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 Thu Nov  6 10:18:30 2014
@@ -156,14 +156,14 @@ public class MyAppConfig {
   CamelContextConfiguration contextConfiguration() {
     return new CamelContextConfiguration() {
       @Override
-      void beforeStart(CamelContext context) {
+      void beforeApplicationStart(CamelContext context) {
         // your custom configuration goes here
       }
     };
   }
 
 }]]></script>
-</div></div><p>Method 
<span>C<code>amelContextConfiguration#</code></span><code><span 
style="line-height: 1.4285715;">beforeStart(CamelContext)</span></code><span 
style="line-height: 1.4285715;">&#160;will be call just before the Spring 
starts the auto-configured <code>CamelContext</code>.</span></p><h3 
id="SpringBoot-DisablingJMX">Disabling JMX</h3><p>To disable JMX of the 
auto-configured <code>CamelContext</code>&#160;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;">&#160;will be called just before the Spring 
context is started, so the <span><code>CamelContext</code> instance passed to 
this callback is fully</span>&#160;auto-configured .</span></p><h3 
id="SpringBoot-DisablingJMX">Disabling JMX</h3><p>To disable JMX of the 
auto-configured <code>CamelContext</code>&#160;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


Reply via email to