[CONF] Apache Camel > Karaf
willem jiang edited the page: Karaf ... Camel Version Karaf Version 2.2.0 1.2.0 2.3.0 1.3.0 2.4.0 1.4.0 2.5.0 2.1.0 2.7.0 2.2.0 2.7.2 2.2.2 2.8.2 2.2.4 2.9.0 2.2.5 2.10.0 2.2.8 2.11.0 2.3.1 2.12.0 2.3.2 2.13.0 2.3.3
[CONF] Apache Camel > Karaf
Grzegorz Grzybek edited the page: Karaf Comment: correct version of Camel for context-resume and context-suspend ... Command Description camel:backlog-tracer-info Provides detail information about the BacklogTracer camel:backlog-tracer-dump To dump tracing on the console from the BacklogTracer camel:backlog-tracer-start To start the BacklogTracer on route(s) camel:backlog-tracer-stop To stop the BacklogTracer on route(s) camel:route-profile To profile route(s) camel:route-reset-stats To reset performance stats on the given route(s) Karaf commands in Camel 2. ... 12.4 onwards Command Description camel:context-suspend Suspends the given Camel context
[CONF] Apache Camel > Karaf
Karaf Page edited by Claus Ibsen Changes (1) ... | 2.10.0 | 2.2.8 | | 2.11.0 | 2.3.1 | | 2.12.0 | 2.3.2 | h2. Preparing Karaf for Camel ... Full Content Karaf Support Apache Camel is designed to work nicely into Apache Karaf OSGi container. It includes: Camel features descriptor allowing to easily and quickly install Camel in Karaf. Karaf commands allowing you to view, start, stop, get info, about the Camel contexts and routes running in the Karaf instance. NB: Karaf commands are available starting with Camel 2.8.0, and the commands was renamed in Camel 2.9.0. Here are the versions that are compatible. Camel Version Karaf Version 2.2.0 1.2.0 2.3.0 1.3.0 2.4.0 1.4.0 2.5.0 2.1.0 2.7.0 2.2.0 2.7.2 2.2.2 2.8.2 2.2.4 2.9.0 2.2.5 2.10.0 2.2.8 2.11.0 2.3.1 2.12.0 2.3.2 Preparing Karaf for Camel Camel uses several bundles to provide low level package, such as javax.annotation or javax.xml.bind. Due to that, we mustn't use the default system package coming from the JDK. It means that we need to "exclude" some packages from system packages in order to use packages provided by tiers bundles. Camel provides a ready to use config.properties file that you can download: http://svn.apache.org/repos/asf/camel/tags/camel-2.7.2/platforms/karaf/features/src/main/resources/config.properties This file has to be copied into Karaf etc folder. Karaf 2.2.5 or newerNotice that Karaf 2.2.5 now provides an extra configuration file that has been configured to work with Camel and CXF, so its recommended to use this file if you use Karaf 2.2.5 or newer. You can prepare Karaf by copying the etc/jre.properties.cxf and override the existing etc/jre.properties file. Install Camel in Karaf Assuming that you have a running Karaf instance, you can register the Camel features descriptor: karaf@root> features:addurl mvn:org.apache.camel.karaf/apache-camel/2.8.2/xml/features From Karaf 2.2.6 onwards this has been simplified as there is a new features:chooseurl command that is pre-setup for Camel karaf@root> features:chooseurl camel 2.9.1 Now, we have all Camel features available: karaf@root> features:list|grep -i camel [uninstalled] [2.8.0 ] camel repo-0 [uninstalled] [2.8.0 ] camel-corerepo-0 [uninstalled] [2.8.0 ] camel-spring repo-0 [uninstalled] [2.8.0 ] camel-blueprint repo-0 [uninstalled] [2.8.0 ] camel-testrepo-0 [uninstalled] [2.8.0 ] camel-cxf repo-0 [uninstalled] [2.8.0 ] camel-cache repo-0 [uninstalled] [2.8.0 ] camel-castor repo-0 [uninstalled] [2.8.0 ] camel-crypto repo-0 [uninstalled] [2.8.0 ] camel-httprepo-0 [uninstalled] [2.8.0 ] camel-http4 repo-0 [uninstalled] [2.8.0 ] camel-minarepo-0 [uninstalled] [2.8.0 ] camel-jetty repo-0 [uninstalled] [2.8.0 ] camel-servlet repo-0 [uninstalled] [2.8.0 ] camel-jms repo-0 ... To install Camel, just install the camel feature: karaf@root> features:install camel You have to install the Camel features depending of your requirements. For instance, if you want to use blueprint as Camel DSL, you have to install the camel-blueprint feature: karaf@root> features:install camel-blueprint If, if your route, you use an endpoint like "stream:out", you have to install the camel-stream feature: karaf@root> features:install camel-stream Karaf commands When you install the camel feature, new Karaf commands become available automatically. Karaf commands in Camel 2.8.x Command Description camel:list-contexts Lists the camel contexts available in the current Karaf instance camel:list-routes Displays the list of Camel routes available in the current Karaf instance camel:info-context Displays detail information about a given Camel context camel:start-context Starts the given Camel context camel:stop-context Stops the given Camel context camel:info-route Provides detail information about a Camel route camel:show-route Renders the route in XML camel:start-route Starts the given route. camel:stop-route Stops the given route. Karaf commands in Camel 2.9 onwards Command Description camel:context-list Lists the camel contexts available in the current Karaf instance camel:context-info Displays detail information about a given Came
[CONF] Apache Camel > Karaf
Karaf Page edited by Christian Mueller Changes (1) ... | 2.9.0 | 2.2.5 | | 2.10.0 | 2.2.8 | | 2.11.0 | 2.3.01 | h2. Preparing Karaf for Camel ... Full Content Karaf Support Apache Camel is designed to work nicely into Apache Karaf OSGi container. It includes: Camel features descriptor allowing to easily and quickly install Camel in Karaf. Karaf commands allowing you to view, start, stop, get info, about the Camel contexts and routes running in the Karaf instance. NB: Karaf commands are available starting with Camel 2.8.0, and the commands was renamed in Camel 2.9.0. Here are the versions that are compatible. Camel Version Karaf Version 2.2.0 1.2.0 2.3.0 1.3.0 2.4.0 1.4.0 2.5.0 2.1.0 2.7.0 2.2.0 2.7.2 2.2.2 2.8.2 2.2.4 2.9.0 2.2.5 2.10.0 2.2.8 2.11.0 2.3.1 Preparing Karaf for Camel Camel uses several bundles to provide low level package, such as javax.annotation or javax.xml.bind. Due to that, we mustn't use the default system package coming from the JDK. It means that we need to "exclude" some packages from system packages in order to use packages provided by tiers bundles. Camel provides a ready to use config.properties file that you can download: http://svn.apache.org/repos/asf/camel/tags/camel-2.7.2/platforms/karaf/features/src/main/resources/config.properties This file has to be copied into Karaf etc folder. Karaf 2.2.5 or newerNotice that Karaf 2.2.5 now provides an extra configuration file that has been configured to work with Camel and CXF, so its recommended to use this file if you use Karaf 2.2.5 or newer. You can prepare Karaf by copying the etc/jre.properties.cxf and override the existing etc/jre.properties file. Install Camel in Karaf Assuming that you have a running Karaf instance, you can register the Camel features descriptor: karaf@root> features:addurl mvn:org.apache.camel.karaf/apache-camel/2.8.2/xml/features From Karaf 2.2.6 onwards this has been simplified as there is a new features:chooseurl command that is pre-setup for Camel karaf@root> features:chooseurl camel 2.9.1 Now, we have all Camel features available: karaf@root> features:list|grep -i camel [uninstalled] [2.8.0 ] camel repo-0 [uninstalled] [2.8.0 ] camel-corerepo-0 [uninstalled] [2.8.0 ] camel-spring repo-0 [uninstalled] [2.8.0 ] camel-blueprint repo-0 [uninstalled] [2.8.0 ] camel-testrepo-0 [uninstalled] [2.8.0 ] camel-cxf repo-0 [uninstalled] [2.8.0 ] camel-cache repo-0 [uninstalled] [2.8.0 ] camel-castor repo-0 [uninstalled] [2.8.0 ] camel-crypto repo-0 [uninstalled] [2.8.0 ] camel-httprepo-0 [uninstalled] [2.8.0 ] camel-http4 repo-0 [uninstalled] [2.8.0 ] camel-minarepo-0 [uninstalled] [2.8.0 ] camel-jetty repo-0 [uninstalled] [2.8.0 ] camel-servlet repo-0 [uninstalled] [2.8.0 ] camel-jms repo-0 ... To install Camel, just install the camel feature: karaf@root> features:install camel You have to install the Camel features depending of your requirements. For instance, if you want to use blueprint as Camel DSL, you have to install the camel-blueprint feature: karaf@root> features:install camel-blueprint If, if your route, you use an endpoint like "stream:out", you have to install the camel-stream feature: karaf@root> features:install camel-stream Karaf commands When you install the camel feature, new Karaf commands become available automatically. Karaf commands in Camel 2.8.x Command Description camel:list-contexts Lists the camel contexts available in the current Karaf instance camel:list-routes Displays the list of Camel routes available in the current Karaf instance camel:info-context Displays detail information about a given Camel context camel:start-context Starts the given Camel context camel:stop-context Stops the given Camel context camel:info-route Provides detail information about a Camel route camel:show-route Renders the route in XML camel:start-route Starts the given route. camel:stop-route Stops the given route. Karaf commands in Camel 2.9 onwards Command Description camel:context-list Lists the camel contexts available in the current Karaf instance camel:context-info Displays detail information about a given Camel context
[CONF] Apache Camel > Karaf
Karaf Page edited by Claus Ibsen Changes (1) ... | *camel:endpoint-list* | Lists endpoints fromm all camel contexts available in the current Karaf instance | h3. Karaf commands in Camel 2.11 onwards || Command || Description || | *camel:backlog-tracer-info* | Provides detail information about the [BacklogTracer] | | *camel:backlog-tracer-dump* | To dump tracing on the console from the [BacklogTracer] | | *camel:backlog-tracer-start* | To start the [BacklogTracer] on route(s) | | *camel:backlog-tracer-stop* | To stop the [BacklogTracer] on route(s) | | *camel:route-profile* | To profile route(s) | | *camel:route-reset-stats* | To reset performance stats on the given route(s) | ... Full Content Karaf Support Apache Camel is designed to work nicely into Apache Karaf OSGi container. It includes: Camel features descriptor allowing to easily and quickly install Camel in Karaf. Karaf commands allowing you to view, start, stop, get info, about the Camel contexts and routes running in the Karaf instance. NB: Karaf commands are available starting with Camel 2.8.0, and the commands was renamed in Camel 2.9.0. Here are the versions that are compatible. Camel Version Karaf Version 2.2.0 1.2.0 2.3.0 1.3.0 2.4.0 1.4.0 2.5.0 2.1.0 2.7.0 2.2.0 2.7.2 2.2.2 2.8.2 2.2.4 2.9.0 2.2.5 2.10.0 2.2.8 2.11.0 2.3.0 Preparing Karaf for Camel Camel uses several bundles to provide low level package, such as javax.annotation or javax.xml.bind. Due to that, we mustn't use the default system package coming from the JDK. It means that we need to "exclude" some packages from system packages in order to use packages provided by tiers bundles. Camel provides a ready to use config.properties file that you can download: http://svn.apache.org/repos/asf/camel/tags/camel-2.7.2/platforms/karaf/features/src/main/resources/config.properties This file has to be copied into Karaf etc folder. Karaf 2.2.5 or newerNotice that Karaf 2.2.5 now provides an extra configuration file that has been configured to work with Camel and CXF, so its recommended to use this file if you use Karaf 2.2.5 or newer. You can prepare Karaf by copying the etc/jre.properties.cxf and override the existing etc/jre.properties file. Install Camel in Karaf Assuming that you have a running Karaf instance, you can register the Camel features descriptor: karaf@root> features:addurl mvn:org.apache.camel.karaf/apache-camel/2.8.2/xml/features From Karaf 2.2.6 onwards this has been simplified as there is a new features:chooseurl command that is pre-setup for Camel karaf@root> features:chooseurl camel 2.9.1 Now, we have all Camel features available: karaf@root> features:list|grep -i camel [uninstalled] [2.8.0 ] camel repo-0 [uninstalled] [2.8.0 ] camel-corerepo-0 [uninstalled] [2.8.0 ] camel-spring repo-0 [uninstalled] [2.8.0 ] camel-blueprint repo-0 [uninstalled] [2.8.0 ] camel-testrepo-0 [uninstalled] [2.8.0 ] camel-cxf repo-0 [uninstalled] [2.8.0 ] camel-cache repo-0 [uninstalled] [2.8.0 ] camel-castor repo-0 [uninstalled] [2.8.0 ] camel-crypto repo-0 [uninstalled] [2.8.0 ] camel-httprepo-0 [uninstalled] [2.8.0 ] camel-http4 repo-0 [uninstalled] [2.8.0 ] camel-minarepo-0 [uninstalled] [2.8.0 ] camel-jetty repo-0 [uninstalled] [2.8.0 ] camel-servlet repo-0 [uninstalled] [2.8.0 ] camel-jms repo-0 ... To install Camel, just install the camel feature: karaf@root> features:install camel You have to install the Camel features depending of your requirements. For instance, if you want to use blueprint as Camel DSL, you have to install the camel-blueprint feature: karaf@root> features:install camel-blueprint If, if your route, you use an endpoint like "stream:out", you have to install the camel-stream feature: karaf@root> features:install camel-stream Karaf commands When you install the camel feature, new Karaf commands become available automatically. Karaf commands in Camel 2.8.x Command Description camel:list-contexts Lists the camel contexts available in the current Karaf instance camel:list-routes Displays the list of Camel routes available in the current Karaf instance camel:info-context Displays detail information about a given Camel context camel:start-contex
[CONF] Apache Camel > Karaf
Karaf Page edited by Ben O'Day Comment: updated per CAMEL-5388 and updated command names to new format Changes (30) ... h3. camel:list-contexts camel:context-list The **camel:list-contexts*\* **camel:context-list*\* command displays the list of CamelContext available in the current Karaf instance: {code} karaf@root> camel:list-contexts camel:context-list Name Status Uptime [66-camel-3] [Started ] [14.559 seconds] ... It displays the context name/ID (used in others commands), the current status (started/stopped), the uptime (since when the context has been started). h3. camel:list-routes camel:route-list The **camel:list-routes*\* **camel:route-list*\* command displays the list of Camel routes available in the current Karaf instance: {code} karaf@root> camel:list-routes camel:route-list [route1 ] {code} ... {code} karaf@root> camel:list-routes camel:route-list 66-camel-3 [route1 ] {code} ... h3. camel:info-context The **camel:info-context*\* **camel:context-info*\* command displays detail information about a given CamelContext: add the **--verbose** option (following the context name) to also list the endpoints {code} karaf@root> camel:info-context camel:context-info 66-camel-3 Camel Context 66-camel-3 Name: 66-camel-3 ... _Tip: use TAB key for completion on the CamelContext name._ h3. camel:start-context camel:context-start The **camel:start-context*\* **camel:context-start*\* command starts a given CamelContext: {code} karaf@root> camel:start-context camel:context-start 66-camel-3 {code} _Tip: use TAB key for completion on the CamelContext name._ h3. camel:stop-context camel:context-stop The **camel:stop-context*\* **camel:context-stop*\* command stops a given CamelContext: {code} karaf@root> karaf@root> camel:stop-context camel:context-stop 66-camel-3 {code} _Tip: use TAB key for completion on the CamelContext name._ h3. camel:info-route camel:route-info The **camel:info-route*\* **camel:route-info*\* command provides detail information about a Camel route: {code} karaf@root> camel:info-route camel:route-info route1 Camel Route route1 Camel Context: 66-camel-3 ... _Tip: use TAB key for completion on the route name._ h3. camel:show-route camel:route-show The **camel:show-route*\* **camel:route-show*\* command renders the route in XML. It's independent from the DSL used to define the route: {code} karaf@root> camel:show-route camel:route-show route1 ... _Tip: use TAB key for completion on the route name._ h3. camel:start-route camel:route-start The **camel:start-route*\* **camel:route-start*\* command starts a Camel route: {code} karaf@root> camel:start-route camel:route-start route1 {code} _Tip: use TAB key for completion on the route name._ h3. camel:stop-route camel:route-stop The **camel:stop-route*\* **camel:route-stop*\* command stops a Camel route: {code} karaf@root> camel:stop-route camel:route-stop route1 {code} ... h3. camel:route-suspend The **camel:start-route*\* **camel:route-suspend*\* command suspends a Camel route: {code} karaf@root> camel:route-suspend route1 ... _Tip: use TAB key for completion on the route name._ h3. camel:resume-route camel:route-resume The **camel:route-resume*\* command resume a Camel route: ... Full Content Karaf Support Apache Camel is designed to work nicely into Apache Karaf OSGi container. It includes: Camel features descriptor allowing to easily and quickly install Camel in Karaf. Karaf commands allowing you to view, start, stop, get info, about the Camel contexts and routes running in the Karaf instance. NB: Karaf commands are available starting with Camel 2.8.0, and the commands was renamed i
[CONF] Apache Camel > Karaf
Karaf Page edited by Claus Ibsen Changes (1) ... | 2.9.0 | 2.2.5 | | 2.10.0 | 2.2.8 | | 2.11.0 | 2.3.0 | h2. Preparing Karaf for Camel ... Full Content Karaf Support Apache Camel is designed to work nicely into Apache Karaf OSGi container. It includes: Camel features descriptor allowing to easily and quickly install Camel in Karaf. Karaf commands allowing you to view, start, stop, get info, about the Camel contexts and routes running in the Karaf instance. NB: Karaf commands are available starting with Camel 2.8.0, and the commands was renamed in Camel 2.9.0. Here are the versions that are compatible. Camel Version Karaf Version 2.2.0 1.2.0 2.3.0 1.3.0 2.4.0 1.4.0 2.5.0 2.1.0 2.7.0 2.2.0 2.7.2 2.2.2 2.8.2 2.2.4 2.9.0 2.2.5 2.10.0 2.2.8 2.11.0 2.3.0 Preparing Karaf for Camel Camel uses several bundles to provide low level package, such as javax.annotation or javax.xml.bind. Due to that, we mustn't use the default system package coming from the JDK. It means that we need to "exclude" some packages from system packages in order to use packages provided by tiers bundles. Camel provides a ready to use config.properties file that you can download: http://svn.apache.org/repos/asf/camel/tags/camel-2.7.2/platforms/karaf/features/src/main/resources/config.properties This file has to be copied into Karaf etc folder. Karaf 2.2.5 or newerNotice that Karaf 2.2.5 now provides an extra configuration file that has been configured to work with Camel and CXF, so its recommended to use this file if you use Karaf 2.2.5 or newer. You can prepare Karaf by copying the etc/jre.properties.cxf and override the existing etc/jre.properties file. Install Camel in Karaf Assuming that you have a running Karaf instance, you can register the Camel features descriptor: karaf@root> features:addurl mvn:org.apache.camel.karaf/apache-camel/2.8.2/xml/features From Karaf 2.2.6 onwards this has been simplified as there is a new features:chooseurl command that is pre-setup for Camel karaf@root> features:chooseurl camel 2.9.1 Now, we have all Camel features available: karaf@root> features:list|grep -i camel [uninstalled] [2.8.0 ] camel repo-0 [uninstalled] [2.8.0 ] camel-corerepo-0 [uninstalled] [2.8.0 ] camel-spring repo-0 [uninstalled] [2.8.0 ] camel-blueprint repo-0 [uninstalled] [2.8.0 ] camel-testrepo-0 [uninstalled] [2.8.0 ] camel-cxf repo-0 [uninstalled] [2.8.0 ] camel-cache repo-0 [uninstalled] [2.8.0 ] camel-castor repo-0 [uninstalled] [2.8.0 ] camel-crypto repo-0 [uninstalled] [2.8.0 ] camel-httprepo-0 [uninstalled] [2.8.0 ] camel-http4 repo-0 [uninstalled] [2.8.0 ] camel-minarepo-0 [uninstalled] [2.8.0 ] camel-jetty repo-0 [uninstalled] [2.8.0 ] camel-servlet repo-0 [uninstalled] [2.8.0 ] camel-jms repo-0 ... To install Camel, just install the camel feature: karaf@root> features:install camel You have to install the Camel features depending of your requirements. For instance, if you want to use blueprint as Camel DSL, you have to install the camel-blueprint feature: karaf@root> features:install camel-blueprint If, if your route, you use an endpoint like "stream:out", you have to install the camel-stream feature: karaf@root> features:install camel-stream Karaf commands When you install the camel feature, new Karaf commands become available automatically. Karaf commands in Camel 2.8.x Command Description camel:list-contexts Lists the camel contexts available in the current Karaf instance camel:list-routes Displays the list of Camel routes available in the current Karaf instance camel:info-context Displays detail information about a given Camel context camel:start-context Starts the given Camel context camel:stop-context Stops the given Camel context camel:info-route Provides detail information about a Camel route camel:show-route Renders the route in XML camel:start-route Starts the given route. camel:stop-route Stops the given route. Karaf commands in Camel 2.9 onwards Command Description camel:context-list Lists the camel contexts available in the current Karaf instance camel:context-info Displays detail information about a given Camel context camel:
[CONF] Apache Camel > Karaf
Karaf Page edited by Christian Mueller Changes (1) ... | 2.8.2 | 2.2.4 | | 2.9.0 | 2.2.5 | | 2.10.0 | 2.2.78 | h2. Preparing Karaf for Camel ... Full Content Karaf Support Apache Camel is designed to work nicely into Apache Karaf OSGi container. It includes: Camel features descriptor allowing to easily and quickly install Camel in Karaf. Karaf commands allowing you to view, start, stop, get info, about the Camel contexts and routes running in the Karaf instance. NB: Karaf commands are available starting with Camel 2.8.0, and the commands was renamed in Camel 2.9.0. Here are the versions that are compatible. Camel Version Karaf Version 2.2.0 1.2.0 2.3.0 1.3.0 2.4.0 1.4.0 2.5.0 2.1.0 2.7.0 2.2.0 2.7.2 2.2.2 2.8.2 2.2.4 2.9.0 2.2.5 2.10.0 2.2.8 Preparing Karaf for Camel Camel uses several bundles to provide low level package, such as javax.annotation or javax.xml.bind. Due to that, we mustn't use the default system package coming from the JDK. It means that we need to "exclude" some packages from system packages in order to use packages provided by tiers bundles. Camel provides a ready to use config.properties file that you can download: http://svn.apache.org/repos/asf/camel/tags/camel-2.7.2/platforms/karaf/features/src/main/resources/config.properties This file has to be copied into Karaf etc folder. Karaf 2.2.5 or newerNotice that Karaf 2.2.5 now provides an extra configuration file that has been configured to work with Camel and CXF, so its recommended to use this file if you use Karaf 2.2.5 or newer. You can prepare Karaf by copying the etc/jre.properties.cxf and override the existing etc/jre.properties file. Install Camel in Karaf Assuming that you have a running Karaf instance, you can register the Camel features descriptor: karaf@root> features:addurl mvn:org.apache.camel.karaf/apache-camel/2.8.2/xml/features From Karaf 2.2.6 onwards this has been simplified as there is a new features:chooseurl command that is pre-setup for Camel karaf@root> features:chooseurl camel 2.9.1 Now, we have all Camel features available: karaf@root> features:list|grep -i camel [uninstalled] [2.8.0 ] camel repo-0 [uninstalled] [2.8.0 ] camel-corerepo-0 [uninstalled] [2.8.0 ] camel-spring repo-0 [uninstalled] [2.8.0 ] camel-blueprint repo-0 [uninstalled] [2.8.0 ] camel-testrepo-0 [uninstalled] [2.8.0 ] camel-cxf repo-0 [uninstalled] [2.8.0 ] camel-cache repo-0 [uninstalled] [2.8.0 ] camel-castor repo-0 [uninstalled] [2.8.0 ] camel-crypto repo-0 [uninstalled] [2.8.0 ] camel-httprepo-0 [uninstalled] [2.8.0 ] camel-http4 repo-0 [uninstalled] [2.8.0 ] camel-minarepo-0 [uninstalled] [2.8.0 ] camel-jetty repo-0 [uninstalled] [2.8.0 ] camel-servlet repo-0 [uninstalled] [2.8.0 ] camel-jms repo-0 ... To install Camel, just install the camel feature: karaf@root> features:install camel You have to install the Camel features depending of your requirements. For instance, if you want to use blueprint as Camel DSL, you have to install the camel-blueprint feature: karaf@root> features:install camel-blueprint If, if your route, you use an endpoint like "stream:out", you have to install the camel-stream feature: karaf@root> features:install camel-stream Karaf commands When you install the camel feature, new Karaf commands become available automatically. Karaf commands in Camel 2.8.x Command Description camel:list-contexts Lists the camel contexts available in the current Karaf instance camel:list-routes Displays the list of Camel routes available in the current Karaf instance camel:info-context Displays detail information about a given Camel context camel:start-context Starts the given Camel context camel:stop-context Stops the given Camel context camel:info-route Provides detail information about a Camel route camel:show-route Renders the route in XML camel:start-route Starts the given route. camel:stop-route Stops the given route. Karaf commands in Camel 2.9 onwards Command Description camel:context-list Lists the camel contexts available in the current Karaf instance camel:context-info Displays detail information about a given Camel context camel:context-start
[CONF] Apache Camel > Karaf
Karaf Page edited by Claus Ibsen Changes (2) ... | 2.8.2 | 2.2.4 | | 2.9.0 | 2.2.5 | | 2.10.0 | 2.2.7 | h2. Preparing Karaf for Camel ... | *camel:route-info* | Provides detail information about a Camel route | | *camel:route-show* | Renders the route in XML | | *camel:route-start* | Starts the given route. From Camel *2.10* onwards you can use * as wildcard to match multiple routes. | | *camel:route-stop* | Stops the given route. From Camel *2.10* onwards you can use * as wildcard to match multiple routes. | | *camel:route-suspend* | Suspends the given route. From Camel *2.10* onwards you can use * as wildcard to match multiple routes. | | *camel:route-resume* | Resumes the given route. From Camel *2.10* onwards you can use * as wildcard to match multiple routes. | h3. Karaf commands in Camel 2.10 onwards ... Full Content Karaf Support Apache Camel is designed to work nicely into Apache Karaf OSGi container. It includes: Camel features descriptor allowing to easily and quickly install Camel in Karaf. Karaf commands allowing you to view, start, stop, get info, about the Camel contexts and routes running in the Karaf instance. NB: Karaf commands are available starting with Camel 2.8.0, and the commands was renamed in Camel 2.9.0. Here are the versions that are compatible. Camel Version Karaf Version 2.2.0 1.2.0 2.3.0 1.3.0 2.4.0 1.4.0 2.5.0 2.1.0 2.7.0 2.2.0 2.7.2 2.2.2 2.8.2 2.2.4 2.9.0 2.2.5 2.10.0 2.2.7 Preparing Karaf for Camel Camel uses several bundles to provide low level package, such as javax.annotation or javax.xml.bind. Due to that, we mustn't use the default system package coming from the JDK. It means that we need to "exclude" some packages from system packages in order to use packages provided by tiers bundles. Camel provides a ready to use config.properties file that you can download: http://svn.apache.org/repos/asf/camel/tags/camel-2.7.2/platforms/karaf/features/src/main/resources/config.properties This file has to be copied into Karaf etc folder. Karaf 2.2.5 or newerNotice that Karaf 2.2.5 now provides an extra configuration file that has been configured to work with Camel and CXF, so its recommended to use this file if you use Karaf 2.2.5 or newer. You can prepare Karaf by copying the etc/jre.properties.cxf and override the existing etc/jre.properties file. Install Camel in Karaf Assuming that you have a running Karaf instance, you can register the Camel features descriptor: karaf@root> features:addurl mvn:org.apache.camel.karaf/apache-camel/2.8.2/xml/features From Karaf 2.2.6 onwards this has been simplified as there is a new features:chooseurl command that is pre-setup for Camel karaf@root> features:chooseurl camel 2.9.1 Now, we have all Camel features available: karaf@root> features:list|grep -i camel [uninstalled] [2.8.0 ] camel repo-0 [uninstalled] [2.8.0 ] camel-corerepo-0 [uninstalled] [2.8.0 ] camel-spring repo-0 [uninstalled] [2.8.0 ] camel-blueprint repo-0 [uninstalled] [2.8.0 ] camel-testrepo-0 [uninstalled] [2.8.0 ] camel-cxf repo-0 [uninstalled] [2.8.0 ] camel-cache repo-0 [uninstalled] [2.8.0 ] camel-castor repo-0 [uninstalled] [2.8.0 ] camel-crypto repo-0 [uninstalled] [2.8.0 ] camel-httprepo-0 [uninstalled] [2.8.0 ] camel-http4 repo-0 [uninstalled] [2.8.0 ] camel-minarepo-0 [uninstalled] [2.8.0 ] camel-jetty repo-0 [uninstalled] [2.8.0 ] camel-servlet repo-0 [uninstalled] [2.8.0 ] camel-jms repo-0 ... To install Camel, just install the camel feature: karaf@root> features:install camel You have to install the Camel features depending of your requirements. For instance, if you want to use blueprint as Camel DSL, you have to install the camel-blueprint feature: karaf@root> features:install camel-blueprint If, if your route, you use an endpoint like "stream:out", you have to install the camel-stream feature: karaf@root> features:install camel-stream Karaf commands When you install the camel feature, new Karaf commands become available automatically. Karaf commands in Camel 2.8.x Command Description camel:list-contexts Lists the camel contexts available in the current Karaf instance camel:list-routes Displays the
[CONF] Apache Camel > Karaf
Karaf Page edited by charles Moulliard Changes (2) ... | *camel:route-resume* | Resumes the given route. | h3. Karaf commands in Camel 2.10 onwards || Command || Description || | *camel:endpoint-list* | Lists endpoints fromm all camel contexts available in the current Karaf instance | h3. camel:list-contexts ... {code} _Tip: use TAB key for completion on the route name._ h4. Camel 2.10 or newer: h3. camel:endpoint-list The **camel:endpoint-list*\* command displays the Lists of all the endpoints available in contexts of the current Karaf instance: {code} karaf@root> camel:endpoint-list camel-id uri Status [test ] [timer://test ] [Started ] [test ] [direct://A] [Started ] {code} It displays the context name/ID (used in others commands), the URI of the endpoint and the current status (started/stopped). Full Content Karaf Support Apache Camel is designed to work nicely into Apache Karaf OSGi container. It includes: Camel features descriptor allowing to easily and quickly install Camel in Karaf. Karaf commands allowing you to view, start, stop, get info, about the Camel contexts and routes running in the Karaf instance. NB: Karaf commands are available starting with Camel 2.8.0, and the commands was renamed in Camel 2.9.0. Here are the versions that are compatible. Camel Version Karaf Version 2.2.0 1.2.0 2.3.0 1.3.0 2.4.0 1.4.0 2.5.0 2.1.0 2.7.0 2.2.0 2.7.2 2.2.2 2.8.2 2.2.4 2.9.0 2.2.5 Preparing Karaf for Camel Camel uses several bundles to provide low level package, such as javax.annotation or javax.xml.bind. Due to that, we mustn't use the default system package coming from the JDK. It means that we need to "exclude" some packages from system packages in order to use packages provided by tiers bundles. Camel provides a ready to use config.properties file that you can download: http://svn.apache.org/repos/asf/camel/tags/camel-2.7.2/platforms/karaf/features/src/main/resources/config.properties This file has to be copied into Karaf etc folder. Karaf 2.2.5 or newerNotice that Karaf 2.2.5 now provides an extra configuration file that has been configured to work with Camel and CXF, so its recommended to use this file if you use Karaf 2.2.5 or newer. You can prepare Karaf by copying the etc/jre.properties.cxf and override the existing etc/jre.properties file. Install Camel in Karaf Assuming that you have a running Karaf instance, you can register the Camel features descriptor: karaf@root> features:addurl mvn:org.apache.camel.karaf/apache-camel/2.8.2/xml/features From Karaf 2.2.6 onwards this has been simplified as there is a new features:chooseurl command that is pre-setup for Camel karaf@root> features:chooseurl camel 2.9.1 Now, we have all Camel features available: karaf@root> features:list|grep -i camel [uninstalled] [2.8.0 ] camel repo-0 [uninstalled] [2.8.0 ] camel-corerepo-0 [uninstalled] [2.8.0 ] camel-spring repo-0 [uninstalled] [2.8.0 ] camel-blueprint repo-0 [uninstalled] [2.8.0 ] camel-testrepo-0 [uninstalled] [2.8.0 ] camel-cxf repo-0 [uninstalled] [2.8.0 ] camel-cache repo-0 [uninstalled] [2.8.0 ] camel-castor repo-0 [uninstalled] [2.8.0 ] camel-crypto repo-0 [uninstalled] [2.8.0 ] camel-httprepo-0 [uninstalled] [2.8.0 ] camel-http4 repo-0 [uninstalled] [2.8.0 ] camel-minarepo-0 [uninstalled] [2.8.0 ] camel-jetty repo-0 [uninstalled] [2.8.0 ] camel-servlet repo-0 [uninstalled] [2.8.0 ] camel-jms repo-0 ... To install Camel, just install the camel feature: karaf@root> features:install camel You have to install the Camel features depending of your requirements. For instance, if you want to use blueprint as Camel DSL, you have to install the camel-blueprint feature: karaf@root> features:install camel-blueprint If, if your route, you use an endpoint like "stream:out", you have to install the camel-stream feature: karaf@root> features:install camel-stream Karaf commands When you install the camel feature, new Karaf commands become available automatically. Karaf commands in Camel 2.8.x Command Description camel:list-contexts Lists the camel contexts available in the curren
[CONF] Apache Camel > Karaf
Karaf Page edited by Claus Ibsen Changes (3) ... | 2.7.2 | 2.2.2 | | 2.8.2 | 2.2.4 | | 2.9.0 | 2.2.5 | h2. Preparing Karaf for Camel ... This file has to be copied into Karaf etc folder. {info:title=Karaf 2.2.5 or newer} Notice that Karaf 2.2.5 now provides an extra configuration file that has been configured to work with Camel and CXF, so its recommended to use this file if you use Karaf 2.2.5 or newer. You can prepare Karaf by copying the etc/jre.properties.cxf and override the existing etc/jre.properties file. {info} h2. Install Camel in Karaf ... {code} From Karaf 2.2.6 onwards this has been simplified as there is a new {{features:chooseurl}} command that is pre-setup for Camel {code} karaf@root> features:chooseurl camel 2.9.1 {code} Now, we have all Camel features available: ... Full Content Karaf Support Apache Camel is designed to work nicely into Apache Karaf OSGi container. It includes: Camel features descriptor allowing to easily and quickly install Camel in Karaf. Karaf commands allowing you to view, start, stop, get info, about the Camel contexts and routes running in the Karaf instance. NB: Karaf commands are available starting with Camel 2.8.0, and the commands was renamed in Camel 2.9.0. Here are the versions that are compatible. Camel Version Karaf Version 2.2.0 1.2.0 2.3.0 1.3.0 2.4.0 1.4.0 2.5.0 2.1.0 2.7.0 2.2.0 2.7.2 2.2.2 2.8.2 2.2.4 2.9.0 2.2.5 Preparing Karaf for Camel Camel uses several bundles to provide low level package, such as javax.annotation or javax.xml.bind. Due to that, we mustn't use the default system package coming from the JDK. It means that we need to "exclude" some packages from system packages in order to use packages provided by tiers bundles. Camel provides a ready to use config.properties file that you can download: http://svn.apache.org/repos/asf/camel/tags/camel-2.7.2/platforms/karaf/features/src/main/resources/config.properties This file has to be copied into Karaf etc folder. Karaf 2.2.5 or newerNotice that Karaf 2.2.5 now provides an extra configuration file that has been configured to work with Camel and CXF, so its recommended to use this file if you use Karaf 2.2.5 or newer. You can prepare Karaf by copying the etc/jre.properties.cxf and override the existing etc/jre.properties file. Install Camel in Karaf Assuming that you have a running Karaf instance, you can register the Camel features descriptor: karaf@root> features:addurl mvn:org.apache.camel.karaf/apache-camel/2.8.2/xml/features From Karaf 2.2.6 onwards this has been simplified as there is a new features:chooseurl command that is pre-setup for Camel karaf@root> features:chooseurl camel 2.9.1 Now, we have all Camel features available: karaf@root> features:list|grep -i camel [uninstalled] [2.8.0 ] camel repo-0 [uninstalled] [2.8.0 ] camel-corerepo-0 [uninstalled] [2.8.0 ] camel-spring repo-0 [uninstalled] [2.8.0 ] camel-blueprint repo-0 [uninstalled] [2.8.0 ] camel-testrepo-0 [uninstalled] [2.8.0 ] camel-cxf repo-0 [uninstalled] [2.8.0 ] camel-cache repo-0 [uninstalled] [2.8.0 ] camel-castor repo-0 [uninstalled] [2.8.0 ] camel-crypto repo-0 [uninstalled] [2.8.0 ] camel-httprepo-0 [uninstalled] [2.8.0 ] camel-http4 repo-0 [uninstalled] [2.8.0 ] camel-minarepo-0 [uninstalled] [2.8.0 ] camel-jetty repo-0 [uninstalled] [2.8.0 ] camel-servlet repo-0 [uninstalled] [2.8.0 ] camel-jms repo-0 ... To install Camel, just install the camel feature: karaf@root> features:install camel You have to install the Camel features depending of your requirements. For instance, if you want to use blueprint as Camel DSL, you have to install the camel-blueprint feature: karaf@root> features:install camel-blueprint If, if your route, you use an endpoint like "stream:out", you have to install the camel-stream feature: karaf@root> features:install camel-stream Karaf commands When you install the camel feature, new Karaf commands become available automatically. Karaf commands in Camel 2.8.x Command Description camel:list-contexts Lists the camel contexts available in the current Karaf instance camel:list-routes Di
[CONF] Apache Camel > Karaf
Karaf Page edited by Christian Schneider Changes (1) ... {code} karaf@root> features:addurl mvn:org.apache.camel.karaf/apache-camel/2.8.02/xml/features {code} ... Full Content Karaf Support Apache Camel is designed to work nicely into Apache Karaf OSGi container. It includes: Camel features descriptor allowing to easily and quickly install Camel in Karaf. Karaf commands allowing you to view, start, stop, get info, about the Camel contexts and routes running in the Karaf instance. NB: Karaf commands are available starting with Camel 2.8.0, and the commands was renamed in Camel 2.9.0. Here are the versions that are compatible. Camel Version Karaf Version 2.2.0 1.2.0 2.3.0 1.3.0 2.4.0 1.4.0 2.5.0 2.1.0 2.7.0 2.2.0 2.7.2 2.2.2 2.8.2 2.2.4 Preparing Karaf for Camel Camel uses several bundles to provide low level package, such as javax.annotation or javax.xml.bind. Due to that, we mustn't use the default system package coming from the JDK. It means that we need to "exclude" some packages from system packages in order to use packages provided by tiers bundles. Camel provides a ready to use config.properties file that you can download: http://svn.apache.org/repos/asf/camel/tags/camel-2.7.2/platforms/karaf/features/src/main/resources/config.properties This file has to be copied into Karaf etc folder. Install Camel in Karaf Assuming that you have a running Karaf instance, you can register the Camel features descriptor: karaf@root> features:addurl mvn:org.apache.camel.karaf/apache-camel/2.8.2/xml/features Now, we have all Camel features available: karaf@root> features:list|grep -i camel [uninstalled] [2.8.0 ] camel repo-0 [uninstalled] [2.8.0 ] camel-corerepo-0 [uninstalled] [2.8.0 ] camel-spring repo-0 [uninstalled] [2.8.0 ] camel-blueprint repo-0 [uninstalled] [2.8.0 ] camel-testrepo-0 [uninstalled] [2.8.0 ] camel-cxf repo-0 [uninstalled] [2.8.0 ] camel-cache repo-0 [uninstalled] [2.8.0 ] camel-castor repo-0 [uninstalled] [2.8.0 ] camel-crypto repo-0 [uninstalled] [2.8.0 ] camel-httprepo-0 [uninstalled] [2.8.0 ] camel-http4 repo-0 [uninstalled] [2.8.0 ] camel-minarepo-0 [uninstalled] [2.8.0 ] camel-jetty repo-0 [uninstalled] [2.8.0 ] camel-servlet repo-0 [uninstalled] [2.8.0 ] camel-jms repo-0 ... To install Camel, just install the camel feature: karaf@root> features:install camel You have to install the Camel features depending of your requirements. For instance, if you want to use blueprint as Camel DSL, you have to install the camel-blueprint feature: karaf@root> features:install camel-blueprint If, if your route, you use an endpoint like "stream:out", you have to install the camel-stream feature: karaf@root> features:install camel-stream Karaf commands When you install the camel feature, new Karaf commands become available automatically. Karaf commands in Camel 2.8.x Command Description camel:list-contexts Lists the camel contexts available in the current Karaf instance camel:list-routes Displays the list of Camel routes available in the current Karaf instance camel:info-context Displays detail information about a given Camel context camel:start-context Starts the given Camel context camel:stop-context Stops the given Camel context camel:info-route Provides detail information about a Camel route camel:show-route Renders the route in XML camel:start-route Starts the given route. camel:stop-route Stops the given route. Karaf commands in Camel 2.9 onwards Command Description camel:context-list Lists the camel contexts available in the current Karaf instance camel:context-info Displays detail information about a given Camel context camel:context-start Starts the given Camel context camel:context-stop Stops the given Camel context camel:route-list Displays the list of Camel routes available in the current Karaf instance camel:route-info Provides detail information about a Camel route camel:route-show Renders the route in XML camel:route-start Starts the given route. camel:route-stop Stops the given route. camel:route-suspend Suspends the given route. camel:route-resume Resumes the given route. ca
[CONF] Apache Camel > Karaf
Karaf Page edited by Claus Ibsen Changes (11) ... * Camel features descriptor allowing to easily and quickly install Camel in Karaf. * Karaf commands allowing you to view, start, stop, get info, about the Camel contexts and routes running in the Karaf instance. *NB: Karaf commands are available starting with Camel 2.8.0*. *NB: Karaf commands are available starting with Camel 2.8.0*, and the commands was renamed in Camel 2.9.0. Here are the versions that are compatible. ... | 2.7.0 | 2.2.0 | | 2.7.2 | 2.2.2 | | 2.8.2+ | 2.2.4 | h2. Preparing Karaf for Camel ... When you install the camel feature, new Karaf commands become available automatically. h3. Karaf commands in Camel 2.8.x || Command || Description || | *camel:list-contexts* | Lists the camel contexts available in the current Karaf instance | ... | *camel:start-route* | Starts the given route. | | *camel:stop-route* | Stops the given route. | | *camel:suspend-route* | Suspends the given route. _Available on Camel 2.9.0 or newer_ | | *camel:resume:route* | Resumes the given route. _Available on Camel 2.9.0 or newer_ | h3. Karaf commands in Camel 2.9 onwards || Command || Description || | *camel:context-list* | Lists the camel contexts available in the current Karaf instance | | *camel:context-info* | Displays detail information about a given Camel context | | *camel:context-start* | Starts the given Camel context | | *camel:context-stop* | Stops the given Camel context | | *camel:route-list* | Displays the list of Camel routes available in the current Karaf instance | | *camel:route-info* | Provides detail information about a Camel route | | *camel:route-show* | Renders the route in XML | | *camel:route-start* | Starts the given route. | | *camel:route-stop* | Stops the given route. | | *camel:route-suspend* | Suspends the given route. | | *camel:route-resume* | Resumes the given route. | h3. camel:list-contexts ... h4. Camel 2.9 or newer: h3. camel:suspend-route camel:route-suspend The **camel:start-route*\* command suspends a Camel route: {code} karaf@root> camel:suspend-route camel:route-suspend route1 {code} _Tip: use TAB key for completion on the route name._ ... h3. camel:resume-route The **camel:resume-route*\* **camel:route-resume*\* command resume a Camel route: {code} karaf@root> camel:resume-route camel:route-resume route1 {code} _Tip: use TAB key for completion on the route name._ Full Content Karaf Support Apache Camel is designed to work nicely into Apache Karaf OSGi container. It includes: Camel features descriptor allowing to easily and quickly install Camel in Karaf. Karaf commands allowing you to view, start, stop, get info, about the Camel contexts and routes running in the Karaf instance. NB: Karaf commands are available starting with Camel 2.8.0, and the commands was renamed in Camel 2.9.0. Here are the versions that are compatible. Camel Version Karaf Version 2.2.0 1.2.0 2.3.0 1.3.0 2.4.0 1.4.0 2.5.0 2.1.0 2.7.0 2.2.0 2.7.2 2.2.2 2.8.2 2.2.4 Preparing Karaf for Camel Camel uses several bundles to provide low level package, such as javax.annotation or javax.xml.bind. Due to that, we mustn't use the default system package coming from the JDK. It means that we need to "exclude" some packages from system packages in order to use packages provided by tiers bundles. Camel provides a ready to use config.properties file that you can download: http://svn.apache.org/repos/asf/camel/tags/camel-2.7.2/platforms/karaf/features/src/main/resources/config.properties This file has to be copied into Karaf etc folder. Install Camel in Karaf Assuming that you have a running Karaf instance, you can register the Camel features descriptor: karaf@root> features:addurl mvn:org.apache.camel.karaf/apache-camel/2.8.0/xml/features Now, we have all Camel features available: karaf@root> features:list|grep -i camel [uninstalled] [2.8.0 ] camel repo-0 [uninstalled] [2.8.0 ] camel-corerepo-0 [uninstalled] [2.8.0 ] camel-spring repo-0 [uninstalled] [2.8.0 ] camel-blueprint repo-0 [uninstalled] [2.8.0 ] camel-testrepo-0 [uninstalled] [2.8.0 ] camel-cxf repo-0 [uninstalled] [2.8.0 ] camel-cac
[CONF] Apache Camel > Karaf
Karaf Page edited by Ben O'Day Comment: added Karaf/Camel compatibility table Changes (1) ... *NB: Karaf commands are available starting with Camel 2.8.0*. Here are the versions that are compatible. || Camel Version || Karaf Version || | 2.2.0 | 1.2.0 | | 2.3.0 | 1.3.0 | | 2.4.0 | 1.4.0 | | 2.5.0+ | 2.1.0 | | 2.7.0+ | 2.2.0 | | 2.7.1 | 2.2.0 | | 2.7.2+ | 2.2.2 | | 2.8.2+ | 2.2.4 | h2. Preparing Karaf for Camel ... Full Content Karaf Support Apache Camel is designed to work nicely into Apache Karaf OSGi container. It includes: Camel features descriptor allowing to easily and quickly install Camel in Karaf. Karaf commands allowing you to view, start, stop, get info, about the Camel contexts and routes running in the Karaf instance. NB: Karaf commands are available starting with Camel 2.8.0. Here are the versions that are compatible. Camel Version Karaf Version 2.2.0 1.2.0 2.3.0 1.3.0 2.4.0 1.4.0 2.5.0+ 2.1.0 2.7.0+ 2.2.0 2.7.1 2.2.0 2.7.2+ 2.2.2 2.8.2+ 2.2.4 Preparing Karaf for Camel Camel uses several bundles to provide low level package, such as javax.annotation or javax.xml.bind. Due to that, we mustn't use the default system package coming from the JDK. It means that we need to "exclude" some packages from system packages in order to use packages provided by tiers bundles. Camel provides a ready to use config.properties file that you can download: http://svn.apache.org/repos/asf/camel/tags/camel-2.7.2/platforms/karaf/features/src/main/resources/config.properties This file has to be copied into Karaf etc folder. Install Camel in Karaf Assuming that you have a running Karaf instance, you can register the Camel features descriptor: karaf@root> features:addurl mvn:org.apache.camel.karaf/apache-camel/2.8.0/xml/features Now, we have all Camel features available: karaf@root> features:list|grep -i camel [uninstalled] [2.8.0 ] camel repo-0 [uninstalled] [2.8.0 ] camel-corerepo-0 [uninstalled] [2.8.0 ] camel-spring repo-0 [uninstalled] [2.8.0 ] camel-blueprint repo-0 [uninstalled] [2.8.0 ] camel-testrepo-0 [uninstalled] [2.8.0 ] camel-cxf repo-0 [uninstalled] [2.8.0 ] camel-cache repo-0 [uninstalled] [2.8.0 ] camel-castor repo-0 [uninstalled] [2.8.0 ] camel-crypto repo-0 [uninstalled] [2.8.0 ] camel-httprepo-0 [uninstalled] [2.8.0 ] camel-http4 repo-0 [uninstalled] [2.8.0 ] camel-minarepo-0 [uninstalled] [2.8.0 ] camel-jetty repo-0 [uninstalled] [2.8.0 ] camel-servlet repo-0 [uninstalled] [2.8.0 ] camel-jms repo-0 ... To install Camel, just install the camel feature: karaf@root> features:install camel You have to install the Camel features depending of your requirements. For instance, if you want to use blueprint as Camel DSL, you have to install the camel-blueprint feature: karaf@root> features:install camel-blueprint If, if your route, you use an endpoint like "stream:out", you have to install the camel-stream feature: karaf@root> features:install camel-stream Karaf commands When you install the camel feature, new Karaf commands become available automatically. Command Description camel:list-contexts Lists the camel contexts available in the current Karaf instance camel:list-routes Displays the list of Camel routes available in the current Karaf instance camel:info-context Displays detail information about a given Camel context camel:start-context Starts the given Camel context camel:stop-context Stops the given Camel context camel:info-route Provides detail information about a Camel route camel:show-route Renders the route in XML camel:start-route Starts the given route. camel:stop-route Stops the given route. camel:suspend-route Suspends the given route. Available on Camel 2.9.0 or newer camel:resume:route Resumes the given route. Available on Camel 2.9.0 or newer camel:list-contexts The *camel:list-contexts* command displays the list of CamelContext available in the current Karaf instance: karaf@root> camel:list-contexts Name Status Uptime [66-camel-3] [Started ] [14.559 seconds] It displays the context name/ID (used in others commands), the current status
[CONF] Apache Camel > Karaf
Karaf Page edited by Ioannis Canellos Comment: Updated the camel karaf page to provided documentation for the new commands Changes (21) ... It includes: * Camel features descriptor allowing to easily and quickly install Camel in Karaf. * Karaf commands allowing you to view, start, stop, get info, about the Camel contexts and routes running in the Karaf instance. *NB: Karaf commands are available starting with Camel 2.8.0*. h2. Preparing Karaf for Camel ... Camel provides a ready to use config.properties file that you can download: [http://svn.apache.org/repos/asf/camel/tags/camel-2.7.2/platforms/karaf/features/src/main/resources/config.properties] This file has to be copied into Karaf etc folder. ... {code} karaf@root> features:list|grep -i camel [uninstalled] [2.8.0 ] camel-corerepo-0 [uninstalled] [2.8.0 ] camel-spring repo-0 [uninstalled] [2.8.0 ] camel-blueprint repo-0 [uninstalled] [2.8.0 ] camel repo-0 [uninstalled] [2.8.0 ] camel-core camel-testrepo-0 [uninstalled] [2.8.0 ] camel-cxf repo-0 [uninstalled] [2.8.0 ] camel-cache repo-0 [uninstalled] [2.8.0 ] camel-spring camel-castor repo-0 [uninstalled] [2.8.0 ] camel-blueprint camel-crypto repo-0 [uninstalled] [2.8.0 ] camel-test camel-httprepo-0 [uninstalled] [2.8.0 ] camel-http4 repo-0 [uninstalled] [2.8.0 ] camel-minarepo-0 [uninstalled] [2.8.0 ] camel-jetty repo-0 [uninstalled] [2.8.0 ] camel-servlet repo-0 [uninstalled] [2.8.0 ] camel-cxf camel-jms repo-0 [uninstalled] [2.8.0 ] camel-cache repo-0 [uninstalled] [2.8.0 ] camel-castor repo-0 [uninstalled] [2.8.0 ] camel-crypto repo-0 [uninstalled] [2.8.0 ] camel-httprepo-0 [uninstalled] [2.8.0 ] camel-http4 repo-0 [uninstalled] [2.8.0 ] camel-minarepo-0 [uninstalled] [2.8.0 ] camel-jetty repo-0 [uninstalled] [2.8.0 ] camel-servlet repo-0 [uninstalled] [2.8.0 ] camel-jms repo-0 ... {code} ... karaf@root> features:install camel-stream {code} h2. Karaf commands When you install the camel feature, new Karaf commands become available automatically. || Command || Description || | *camel:list-contexts* | Lists the camel contexts available in the current Karaf instance | | *camel:list-routes* | Displays the list of Camel routes available in the current Karaf instance | | *camel:info-context* | Displays detail information about a given Camel context | | *camel:start-context* | Starts the given Camel context | | *camel:stop-context* | Stops the given Camel context | | *camel:info-route* | Provides detail information about a Camel route | | *camel:show-route* | Renders the route in XML | | *camel:start-route* | Starts the given route. | | *camel:stop-route* | Stops the given route. | | *camel:suspend-route* | Suspends the given route. _Available on Camel 2.9.0 or newer_ | | *camel:resume:route* | Resumes the given route. _Available on Camel 2.9.0 or newer_ | h3. camel:list-contexts The **camel:list-contexts*\* command displays the list of CamelContext available in the current Karaf instance: {code} karaf@root> camel:list-contexts Name Status Uptime [66-camel-3] [Started ] [14.559 seconds] {code} ... h3. camel:list-routes The **camel:list-routes*\* command displays the list of Camel routes available in the current Karaf instance: {code} karaf@root> camel:list-routes [route1 ] {code} ... {code} karaf@root> camel:list-routes 66-camel-3 [route1 ] {code} ... h3. camel:info-context The **camel:info-context*\* comman
[CONF] Apache Camel > Karaf
Karaf Page edited by Jean-Baptiste Onofré Changes (1) ... *NB: Karaf commands are available starting with Camel 2.8.0*. h2. Preparing Karaf for Camel Camel uses several bundles to provide low level package, such as javax.annotation or javax.xml.bind. Due to that, we mustn't use the default system package coming from the JDK. It means that we need to "exclude" some packages from system packages in order to use packages provided by tiers bundles. Camel provides a ready to use config.properties file that you can download: http://svn.apache.org/repos/asf/camel/tags/camel-2.7.2/platforms/karaf/features/src/main/resources/config.properties This file has to be copied into Karaf etc folder. h2. Install Camel in Karaf ... Full Content Karaf Support Apache Camel is designed to work nicely into Apache Karaf OSGi container. It includes: Camel features descriptor allowing to easily and quickly install Camel in Karaf. Karaf commands allowing you to view, start, stop, get info, about the Camel contexts and routes running in the Karaf instance. NB: Karaf commands are available starting with Camel 2.8.0. Preparing Karaf for Camel Camel uses several bundles to provide low level package, such as javax.annotation or javax.xml.bind. Due to that, we mustn't use the default system package coming from the JDK. It means that we need to "exclude" some packages from system packages in order to use packages provided by tiers bundles. Camel provides a ready to use config.properties file that you can download: http://svn.apache.org/repos/asf/camel/tags/camel-2.7.2/platforms/karaf/features/src/main/resources/config.properties This file has to be copied into Karaf etc folder. Install Camel in Karaf Assuming that you have a running Karaf instance, you can register the Camel features descriptor: karaf@root> features:addurl mvn:org.apache.camel.karaf/apache-camel/2.8.0/xml/features Now, we have all Camel features available: karaf@root> features:list|grep -i camel [uninstalled] [2.8.0 ] camel repo-0 [uninstalled] [2.8.0 ] camel-corerepo-0 [uninstalled] [2.8.0 ] camel-spring repo-0 [uninstalled] [2.8.0 ] camel-blueprint repo-0 [uninstalled] [2.8.0 ] camel-testrepo-0 [uninstalled] [2.8.0 ] camel-cxf repo-0 [uninstalled] [2.8.0 ] camel-cache repo-0 [uninstalled] [2.8.0 ] camel-castor repo-0 [uninstalled] [2.8.0 ] camel-crypto repo-0 [uninstalled] [2.8.0 ] camel-httprepo-0 [uninstalled] [2.8.0 ] camel-http4 repo-0 [uninstalled] [2.8.0 ] camel-minarepo-0 [uninstalled] [2.8.0 ] camel-jetty repo-0 [uninstalled] [2.8.0 ] camel-servlet repo-0 [uninstalled] [2.8.0 ] camel-jms repo-0 ... To install Camel, just install the camel feature: karaf@root> features:install camel You have to install the Camel features depending of your requirements. For instance, if you want to use blueprint as Camel DSL, you have to install the camel-blueprint feature: karaf@root> features:install camel-blueprint If, if your route, you use an endpoint like "stream:out", you have to install the camel-stream feature: karaf@root> features:install camel-stream Karaf commands When you install the camel feature, new Karaf commands become available automatically. camel:list-contexts The *camel:list-contexts* command displays the list of CamelContext available in the current Karaf instance: karaf@root> camel:list-contexts Name Status Uptime [66-camel-3] [Started ] [14.559 seconds] It displays the context name/ID (used in others commands), the current status (started/stopped), the uptime (since when the context has been started). camel:list-routes The *camel:list-routes* command displays the list of Camel routes available in the current Karaf instance: karaf@root> camel:list-routes [route1 ] You can also filter the routes by CamelContext: karaf@root> camel:list-routes 66-camel-3 [route1 ] Tip: use the TAB key to completion on the CamelContext ID. camel:info-context The *camel:info-conte
[CONF] Apache Camel > Karaf
Karaf Page edited by Jean-Baptiste Onofré Changes (1) ... _Tip: use the TAB key to completion on the CamelContext ID._ h3. camel:info-context The **camel:info-context** command displays detail information about a given CamelContext: {code} karaf@root> camel:info-context 66-camel-3 Camel Context 66-camel-3 Name: 66-camel-3 Version: 2.8.0 Status: Started Uptime: 1 minute Advanced Auto Startup: true Starting Routes: false Suspended: false Tracing: false Properties Components timer properties log Endpoints timer://test log://test Routes route1 Used Languages {code} You can see the current Camel version used by the CamelContext, some context attributes, the components involved in the context, and the endpoints defined. _Tip: use TAB key for completion on the CamelContext name._ h3. camel:start-context The **camel:start-context** command starts a given CamelContext: {code} karaf@root> camel:start-context 66-camel-3 {code} _Tip: use TAB key for completion on the CamelContext name._ h3. camel:stop-context The **camel:stop-context** command stops a given CamelContext: {code} karaf@root> karaf@root> camel:stop-context 66-camel-3 {code} _Tip: use TAB key for completion on the CamelContext name._ h3. camel:info-route The **camel:info-route** command provides detail information about a Camel route: {code} karaf@root> camel:info-route route1 Camel Route route1 Camel Context: 66-camel-3 Properties id = route1 parent = 2e7aacc1 Statistics Exchanges Total: 98 Exchanges Completed: 98 Exchanges Failed: 0 Min Processing Time: 1ms Max Processing Time: 2ms Mean Processing Time: 1ms Total Processing Time: 134ms Last Processing Time: 1ms First Exchange Date: 2011-06-29 07:21:57 Last Exchange Completed Date: 2011-06-29 07:23:34 Definition {code} You can see some statistics (the number of processed exchanges, the processing time, etc) and a XML rendering of your route (whatever DSL used to define the route). _Tip: use TAB key for completion on the route name._ h3. camel:show-route The **camel:show-route** command renders the route in XML. It's independent from the DSL used to define the route: {code} karaf@root> camel:show-route route1 {code} _Tip: use TAB key for completion on the route name._ h3. camel:start-route The **camel:start-route** command starts a Camel route: {code} karaf@root> camel:start-route route1 {code} _Tip: use TAB key for completion on the route name._ h3. camel:stop-route The **camel:stop-route** command stops a Camel route: {code} karaf@root> camel:stop-route route1 {code} _Tip: use TAB key for completion on the route name._ Full Content Karaf Support Apache Camel is designed to work nicely into Apache Karaf OSGi container. It includes: Camel features descriptor allowing to easily and quickly install Camel in Karaf. Karaf commands allowing you to view, start, stop, get info, about the Camel contexts and routes running in the Karaf instance. NB: Karaf commands are available starting with Camel 2.8.0. Install Camel in Karaf Assuming that you have a running Karaf instance, you can register the Camel features descriptor: karaf@root> features:addurl mvn:org.apache.camel.karaf/apache-camel/2.8.0/xml/features Now, we have all Camel features available: karaf@root> features:list|grep -i camel [uninstalled] [2.8.0 ] camel repo-0 [uninstalled] [2.8.0 ] camel-corerepo-0 [uninstalled] [2.8.0 ] camel-spring repo-0 [uninstalled] [2.8.0 ] camel-blueprint repo-0 [uninstalled] [2.8.0 ] camel-testrepo-0 [uninstalled] [2.8.0 ] camel-cxf repo-0 [uninstalled] [2.8.0 ] camel-cache repo-0 [uninstalled] [2.8.0 ] camel-castor repo-0 [uninstalled] [2.8.0 ] camel-crypto repo-0 [uninstalled] [2.8.0 ] camel-httprepo-0 [uninstalled] [2.8.0 ] camel-http4 repo-0 [uninstalled] [2.8.0 ] camel-minarepo-0 [uninstalled] [2.8.0 ] camel-jetty repo-0 [uninstalled] [2.8.0 ] camel-servlet repo-0
[CONF] Apache Camel > Karaf
Karaf Page added by Jean-Baptiste Onofré Karaf Support Apache Camel is designed to work nicely into Apache Karaf OSGi container. It includes: Camel features descriptor allowing to easily and quickly install Camel in Karaf. Karaf commands allowing you to view, start, stop, get info, about the Camel contexts and routes running in the Karaf instance. NB: Karaf commands are available starting with Camel 2.8.0. Install Camel in Karaf Assuming that you have a running Karaf instance, you can register the Camel features descriptor: karaf@root> features:addurl mvn:org.apache.camel.karaf/apache-camel/2.8.0/xml/features Now, we have all Camel features available: karaf@root> features:list|grep -i camel [uninstalled] [2.8.0 ] camel repo-0 [uninstalled] [2.8.0 ] camel-corerepo-0 [uninstalled] [2.8.0 ] camel-spring repo-0 [uninstalled] [2.8.0 ] camel-blueprint repo-0 [uninstalled] [2.8.0 ] camel-testrepo-0 [uninstalled] [2.8.0 ] camel-cxf repo-0 [uninstalled] [2.8.0 ] camel-cache repo-0 [uninstalled] [2.8.0 ] camel-castor repo-0 [uninstalled] [2.8.0 ] camel-crypto repo-0 [uninstalled] [2.8.0 ] camel-httprepo-0 [uninstalled] [2.8.0 ] camel-http4 repo-0 [uninstalled] [2.8.0 ] camel-minarepo-0 [uninstalled] [2.8.0 ] camel-jetty repo-0 [uninstalled] [2.8.0 ] camel-servlet repo-0 [uninstalled] [2.8.0 ] camel-jms repo-0 ... To install Camel, just install the camel feature: karaf@root> features:install camel You have to install the Camel features depending of your requirements. For instance, if you want to use blueprint as Camel DSL, you have to install the camel-blueprint feature: karaf@root> features:install camel-blueprint If, if your route, you use an endpoint like "stream:out", you have to install the camel-stream feature: karaf@root> features:install camel-stream Karaf commands Change Notification Preferences View Online | Add Comment