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.このコンテンツは選択した言語では利用できません。
1.2. Deploy a Profile
Deploy a profile to the child container リンクのコピーリンクがクリップボードにコピーされました!
リンクのコピーリンクがクリップボードにコピーされました!
Having created the child container, as described in Section 1.1, “Create a Fabric”, you can now deploy the a profile to it. To do so, follow these steps:
- Deploy the
quickstarts-beginner-camel.logprofile into thechildcontainer by entering this console command:JBossFuse:karaf@root> fabric:container-change-profile child quickstarts-beginner-camel.log
JBossFuse:karaf@root> fabric:container-change-profile child quickstarts-beginner-camel.logCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Verify that the
quickstarts-beginner-camel.logprofile deploys successfully to thechildcontainer, using thefabric:container-listcommand. Enter the following command to monitor the container status:JBossFuse:karaf@root> shell:watch container-list
JBossFuse:karaf@root> shell:watch container-listCopy to Clipboard Copied! Toggle word wrap Toggle overflow And wait until thechildcontainer status changes tosuccess.
View the sample output リンクのコピーリンクがクリップボードにコピーされました!
リンクのコピーリンクがクリップボードにコピーされました!
When it is running, the
quickstarts-beginner-camel.log profile writes a message to the container's log every five seconds. To verify that the profile is running properly, you can look for these messages in the child container's log, as follows:
- Connect to the
childcontainer, by entering the following console command:JBossFuse:karaf@root> container-connect child
JBossFuse:karaf@root> container-connect childCopy to Clipboard Copied! Toggle word wrap Toggle overflow - After logging on to the
childcontainer, view thechildcontainer's log using thelog:tailcommand, as follows:JBossFuse:karaf@root> log:tail
JBossFuse:karaf@root> log:tailCopy to Clipboard Copied! Toggle word wrap Toggle overflow You should see some output like the following:Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Type Ctrl-C to exit the log view and get back to the child container's console prompt.
- Type Ctrl-D to exit the child container's console, which brings you back to the root container console.