このコンテンツは選択した言語では利用できません。

Chapter 1. Using the Fuse Tooling Resource Files


Abstract

Experienced users may want to focus only on the tutorials that demonstrate the tooling's new features. To do so, you need to download and install the requisite resource files. The prefabricated message files are used by all tutorials, but the prefabricated Camel Context files are specific to particular tutorials. With the exception of Chapter 2, To Create a New Route and Chapter 8, To Test a Route with JUnit, using these prefabricated resource files enables you to complete most tutorials in any order. Without them, you must complete each tutorial sequentially, as the code generated by one tutorial is the starting point for the next tutorial.

Prerequisites

You must complete Chapter 2, To Create a New Route, to create the project, the new routing context, and the folder that will hold the test messages. The code generated by this tutorial is used by Chapter 3, To Run a Route and by Chapter 4, To Add a Content-Based Router.
You must successfully complete Chapter 8, To Test a Route with JUnit to generate a valid JUnit test case before you can successfully complete Chapter 9, To Publish a Fuse Project to Red Hat JBoss Fuse.

Downloading and installing the Prefabricated message files

Six prefabricated message files named message1.xml, message2.xml,..., message6.xml are used in all of the tutorials. These files are provided in a downloadable Messages.zip file. Follow the instructions for downloading and installing the messages in the section called “Creating test messages”.

Downloading and installing the prefabricated Camel Context files

Two prefabricated Camel Context files named camelContext5.xml, and camelContext6.xml are used in one or more of the tutorials. These files are provided in a downloadable .zip file.
  1. Click here to download the camelContexts.zip file.
  2. Unzip the camelContexts.zip file in a convenient location external to the CBRroute project's workspace.
  3. Delete the existing camelContext.xml file from the CBRroute/src/main/resources/OSGI-INF/blueprint/ folder.
  4. Install the camelContext#.xml file that corresponds to the tutorial that you want to complete in the vacated CBRroute/src/main/resources/OSGI-INF/blueprint/ folder.
    Use prefabricated Camel Context file:To complete tutorials:
    camelContext5.xmlTo Add Another Route to the CBR Routing Context
    camelContext6.xml
    To Debug a Routing Context
    To Trace a Message Through a Route
    To Test a Route with JUnit
  5. Rename the camelContext#.xml file camelContext.xml.
  6. In the Red Hat JBoss Fuse: Tooling Tutorials guide, follow the instructions for completing the target tutorial.
Red Hat logoGithubRedditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

© 2024 Red Hat, Inc.