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.이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 7. Running routes inside Red Hat JBoss Fuse Plugins for Eclipse
There are two basic ways to run your routes using the developer tools:
7.1. Running routes using Maven 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
Overview 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
If the project containing your route is a Maven project, you can use the m2e plug-in to run your route. Using this option, you can execute any Maven goals, before the route runs.
Procedure 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
To run a route using Maven:
- In Package Explorer, select the root of the project .
- Right-click it to open the context menu, and then select
. - The first time you run the project using Maven the Edit Configuration editor opens, so you can create a Maven runtime profile.To create the runtime profile:
- Make sure the route directory of your Apache Camel project appears in the Base directory: field.For example on Linux the root of your project will be similar to
~/workspace/simple-router
. - In the Goals: field, enter
camel:run
. - Clickand then .
- Subsequent Maven runs use this profile, unless you modify it between runs.
Results 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
The Console view displays the output from the Maven run.
Related topics 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
Section 7.3.2, “Editing a Maven runtime profile” |