Este contenido no está disponible en el idioma seleccionado.

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:
  1. Deploy the example-camel-hello profile into the child container by entering this console command:
    JBossFuse:karaf@root> fabric:container-change-profile child example-camel-hello
    Copy to Clipboard Toggle word wrap
  2. Verify that the example-camel-hello profile deploys successfully to the child container, using the fabric:container-list command. Enter the following command to monitor the container status:
    JBossFuse:karaf@root> shell:watch container-list
    Copy to Clipboard Toggle word wrap
    And wait until the child container status changes to success.

View the sample output

When it is running, the example-camel-hello 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:
  1. Connect to the child container, by entering the following console command:
    JBossFuse:karaf@root> container-connect child
    Copy to Clipboard Toggle word wrap
  2. After logging on to the child container, view the child container's log using the log:tail command, as follows:
    JBossFuse:karaf@root> log:tail
    Copy to Clipboard Toggle word wrap
    You should see some output like the following:
    Copy to Clipboard Toggle word wrap
  3. Type Ctrl-C to exit the log view and get back to the child container's console prompt.
Volver arriba
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2025 Red Hat