Author: buildbot
Date: Thu Feb 19 14:18:11 2015
New Revision: 940749

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/kura.html

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

Modified: websites/production/camel/content/kura.html
==============================================================================
--- websites/production/camel/content/kura.html (original)
+++ websites/production/camel/content/kura.html Thu Feb 19 14:18:11 2015
@@ -88,20 +88,20 @@
 <div class="wiki-content maincontent"><h2 
id="Kura-EclipseKuracomponent">Eclipse Kura component</h2><p><span 
style="line-height: 1.5625;font-size: 16.0px;">This documentation page covers 
the integration options of Camel with the <a shape="rect" class="external-link" 
href="https://eclipse.org/kura/"; rel="nofollow">Eclipse Kura</a> M2M 
gateway.</span></p>    <div class="aui-message hint shadowed information-macro">
                             <span class="aui-icon icon-hint">Icon</span>
                 <div class="message-content">
-                            <p>&#160;Kura component is available starting from 
Camel 2.15.</p>
+                            <p>&#160;Kura component is available starting from 
Camel <strong>2.15</strong>.</p>
                     </div>
     </div>
-<p><span style="line-height: 1.5625;font-size: 16.0px;"><br 
clear="none"></span></p><h3 id="Kura-KuraRouteractivator"><span 
style="line-height: 1.5625;font-size: 16.0px;">KuraRouter 
activator</span></h3><p>The easiest way to deploy Apache Camel routes into the 
Kura is to create an OSGi bundle containing the class extending 
<code>org.apache.camel.kura.KuraRouter</code> class:</p><div class="code panel 
pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<h3 id="Kura-KuraRouteractivator"><span style="line-height: 1.5625;font-size: 
16.0px;">KuraRouter activator</span></h3><p>The easiest way to deploy Apache 
Camel routes into the Kura is to create an OSGi bundle containing the class 
extending <code>org.apache.camel.kura.KuraRouter</code> class:</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[public class MyKuraRouter extends KuraRouter {
 
-    @Override
-    public void configure() throws Exception {
-        from(&quot;timer:trigger&quot;).
-          to(&quot;netty-http:http://app.mydatacenter.com/api&quot;);
-    }
+  @Override
+  public void configure() throws Exception {
+    from(&quot;timer:trigger&quot;).
+      to(&quot;netty-http:http://app.mydatacenter.com/api&quot;);
+  }
 
 }]]></script>
-</div></div><p>Kura router starts its own OSGi-aware 
<code>CamelContext</code>. It means that for every class extending 
<code>KuraRouter</code>, there will be a dedicated <code>CamelContext</code> 
instance. Ideally we recommend to deploy one <code>KuraRouter</code> per OSGi 
bundle.</p><h3 id="Kura-DeployingKuraRouter">Deploying KuraRouter</h3><p>Bundle 
containing your Kura router class should import the following bundles in the 
OSGi manifest:</p><div class="code panel pdl" style="border-width: 1px;"><div 
class="codeContent panelContent pdl">
+</div></div><p>Kura router starts its own OSGi-aware 
<code>CamelContext</code>. It means that for every class extending 
<code>KuraRouter</code>, there will be a dedicated <code>CamelContext</code> 
instance. Ideally we recommend to deploy one <code>KuraRouter</code> per OSGi 
bundle. Keep in mind that KuraRouter implements the 
<code>org.osgi.framework.BundleActivator</code> interface, so you need to 
register its <code>start</code> and <code>stop</code> lifecycle methods while 
<a shape="rect" class="external-link" 
href="http://eclipse.github.io/kura/doc/hello-example.html#create-component-class";
 rel="nofollow">creating Kura bundle component class</a>.</p><h3 
id="Kura-DeployingKuraRouter">Deploying KuraRouter</h3><p>Bundle containing 
your Kura router class should import the following packages in the OSGi 
manifest:</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[Import-Package: 
org.osgi.framework;version=&quot;1.3.0&quot;,
   org.slf4j;version=&quot;1.6.4&quot;,
   
org.apache.camel,org.apache.camel.impl,org.apache.camel.core.osgi,org.apache.camel.builder,org.apache.camel.model,


Reply via email to