Fuse 6 is no longer supported
As of February 2025, Red Hat Fuse 6 is no longer supported. If you are using Fuse 6, please upgrade to Red Hat build of Apache Camel.Questo contenuto non è disponibile nella lingua selezionata.
2.2. Getting Started with Camel on EAP Subsystem
Camel on EAP Subsystem provides you the capability to add Camel routes to your Java EE applications.
2.2.1. Running Camel on EAP Subsystem Copia collegamentoCollegamento copiato negli appunti!
Copia collegamentoCollegamento copiato negli appunti!
Before running the subsystem, you need to check your system to make sure that you have a working Java 1.7 version and Maven 3.2.3 version or higher.
- Standalone Server: Run the following command in your JBoss EAP home directory.
bin/standalone.sh -c standalone-camel.xml
$ bin/standalone.sh -c standalone-camel.xml
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Domain Mode: Run the following command in your JBoss EAP home directory.
bin/domain.sh -c domain-camel.xml
$ bin/domain.sh -c domain-camel.xml
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
2.2.2. Enabling Camel on EAP Subsystem Copia collegamentoCollegamento copiato negli appunti!
Copia collegamentoCollegamento copiato negli appunti!
The Camel on EAP distribution patch does not modify the existing JBoss EAP configuration files. However, it comes with a number of additional configuration files.
Run the following command to add the Camel subsystem to an existing configuration.
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
bin/fuseconfig.sh --configs=camel --enable
$ bin/fuseconfig.sh --configs=camel --enable
2.2.3. Disabling the Camel Subsystem Copia collegamentoCollegamento copiato negli appunti!
Copia collegamentoCollegamento copiato negli appunti!
If you do not want to add camel subsystem into your deployment, set the attribute
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
enabled
to false. For example, In jboss-all.xml
file, set the attribute enabled
to false in jboss-camel
XML element
<jboss umlns="urn:jboss:1.0"> <jboss-camel xmlns="urn:jboss:jboss-camel:1.0" enabled="false"/> </jboss>
<jboss umlns="urn:jboss:1.0">
<jboss-camel xmlns="urn:jboss:jboss-camel:1.0" enabled="false"/>
</jboss>