Author: buildbot Date: Thu Feb 19 10:18:18 2015 New Revision: 940708 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 10:18:18 2015 @@ -85,7 +85,7 @@ <tbody> <tr> <td valign="top" width="100%"> -<div class="wiki-content maincontent"><h2 id="Kura-EclipseKuracomponent">Eclipse Kura component</h2><h2 id="Kura-ThisdocumentationpagecoverstheintegrationoptionsofCamelwiththeEclipseKuraM2Mgateway."><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></h2> <div class="aui-message hint shadowed information-macro"> +<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> Kura component is available starting from Camel 2.15.</p> @@ -103,9 +103,9 @@ }]]></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"> <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[Import-Package: org.osgi.framework;version="1.3.0", -org.slf4j;version="1.6.4", -org.apache.camel,org.apache.camel.impl,org.apache.camel.core.osgi,org.apache.camel.builder,org.apache.camel.model, -org.apache.camel.kura]]></script> + org.slf4j;version="1.6.4", + org.apache.camel,org.apache.camel.impl,org.apache.camel.core.osgi,org.apache.camel.builder,org.apache.camel.model, + org.apache.camel.component.kura]]></script> </div></div><p>Keep in mind that you don't have to import every Camel component bundle you plan to use in your routes, as Camel components are resolved as the services on the runtime level.</p><p>Before you deploy your router bundle, be sure that you have deployed (and started) the following Camel core bundles (using Kura GoGo shell)...</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[install file:///home/user/.m2/repository/org/apache/camel/camel-core/2.15.0/camel-core-2.15.0.jar start <camel-core-bundle-id>