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

1.2. Creating projects, routes, and test cases


Overview

While you'll spend the majority of your time using the route editor, the developer tools include wizards that facilitate creating the following:
  • Red Hat JBoss Fuse projects
  • Apache Camel context files
  • Apache Camel-specific JUnit tests

Fuse projects

The developer tools leverage the m2e plug-in's ability to execute Maven archetypes to create starting point projects for working on Apache Camel routes. The New Fuse Project wizard displays the Apache Camel Maven archetype options. Selecting one creates a project that is properly configured for developing Apache Camel applications.
For more information, see Chapter 2, Creating a New Fuse Project.

Apache Camel context files

Apache Camel context files are the key piece of any project. They contain the routing rules that form the backbone of an Apache Camel application. The developer tools have a simple wizard that creates new Apache Camel context files.
For more information, see Chapter 3, Creating a New Camel XML file.

Apache Camel test cases

The developer tools provide a wizard that generates JUnit code for testing your routes. The wizard makes it easy to select the assertions to test. It also simplifies the process of testing particular endpoints in a route.

Fuse messages

The developer tools provide a wizard that creates a message that you can use to test a route. You drop the message on Camel endpoints or ActiveMQ destinations to track its progress through the route. The wizard creates a skeletal message, which you can edit to customize the content of both the message body and the message header.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

Theme

© 2025 Red Hat