// Do not edit directly!
// This file was generated by camel-quarkus-maven-plugin:update-extension-doc-page
[id="extensions-controlbus"]
= Control Bus
:page-aliases: extensions/controlbus.adoc
:linkattrs:
:cq-artifact-id: camel-quarkus-controlbus
:cq-native-supported: true
:cq-status: Stable
:cq-status-deprecation: Stable
:cq-description: Manage and monitor Camel routes.
:cq-deprecated: false
:cq-jvm-since: 0.4.0
:cq-native-since: 0.4.0

ifeval::[{doc-show-badges} == true]
[.badges]
[.badge-key]##JVM since##[.badge-supported]##0.4.0## [.badge-key]##Native since##[.badge-supported]##0.4.0##
endif::[]

Manage and monitor Camel routes.

[id="extensions-controlbus-whats-inside"]
== What's inside

* xref:{cq-camel-components}::controlbus-component.adoc[Control Bus component], URI syntax: `controlbus:command:language`

Please refer to the above link for usage and configuration details.

[id="extensions-controlbus-maven-coordinates"]
== Maven coordinates

https://{link-quarkus-code-generator}/?extension-search=camel-quarkus-controlbus[Create a new project with this extension on {link-quarkus-code-generator}, window="_blank"]

Or add the coordinates to your existing project:

[source,xml]
----
<dependency>
    <groupId>org.apache.camel.quarkus</groupId>
    <artifactId>camel-quarkus-controlbus</artifactId>
</dependency>
----
ifeval::[{doc-show-user-guide-link} == true]
Check the xref:user-guide/index.adoc[User guide] for more information about writing Camel Quarkus applications.
endif::[]

[id="extensions-controlbus-usage"]
== Usage
[id="extensions-controlbus-usage-statistics"]
=== Statistics

When using the `stats` command endpoint, the `camel-quarkus-management` extension must be added as a project dependency to enable JMX. Maven users will have to add the following to their `pom.xml`:

[source,xml]
----
<dependency>
    <groupId>org.apache.camel.quarkus</groupId>
    <artifactId>camel-quarkus-management</artifactId>
</dependency>
----


[id="extensions-controlbus-camel-quarkus-limitations"]
== Camel Quarkus limitations

[id="extensions-controlbus-limitations-statistics"]
=== Statistics

The `stats` action is not available in native mode as JMX is not supported in the Graal VM.  Therefore, attempting to build a native image with the `camel-quarkus-management` extension on the classpath will result in a build failure.

