Eclipse Kura componentThis documentation page covers the integration options of Camel with the Eclipse Kura M2M gateway.KuraRouter activatorThe easiest way to deploy Apache Camel routes into the Kura is to create an OSGi bundle containing the class extending Kura router starts its own OSGi-aware Deploying KuraRouterBundle containing your Kura router class should import the following bundles in the OSGi manifest: 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. Before you deploy your router bundle, be sure that you have deployed (and started) the following Camel core bundles (using Kura GoGo shell)... ...and all the components you plan to use in your routes: Then finally deploy your router bundle: Auto-configured consumer and producer templatesCamel auto-configuration provides a pre-configured By default consumer and producer templates comes with the endpoint cache sizes equal to 1000. You can change that values via the following Spring properties: Auto-configured TypeConverterCamel auto-configuration registers Spring type conversion API bridgeSpring comes with the powerful type conversion API. Spring API happens not to be much different from the Camel type converter API. As those APIs are so similar, Camel Spring Boot automatically registers bridge converter (
Under the hood Camel Spring Boot delegates conversion to the Spring's Disabling type conversions featuresIf you don't want Camel Spring Boot to register type-conversions related features (like Fat jars and fat warsThe easiest way to create Camel-aware Spring Boot fat jar/war is to extend the
...and add the following property to your
It is also recommended to define your main class explicitly in the Spring Boot Maven plugin configuration: In order to turn your fat jar into fat war, add the following class extending See Also |