此内容没有您所选择的语言版本。

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

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
    
  • Domain Mode: Run the following command in your JBoss EAP home directory.
    $ bin/domain.sh -c domain-camel.xml
    

2.2.2. Enabling Camel on EAP Subsystem

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.
$ bin/fuseconfig.sh --configs=camel --enable

2.2.3. Disabling the Camel Subsystem

If you do not want to add camel subsystem into your deployment, set the attribute 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>

Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.