12.3. Hot Deployment


Prerequisites

The implementation of FAB is provided by the fabric-bundle feature. To install this feature in the container, enter the following console command:
JBossFuse:karaf@root> features:install fabric-bundle

Hot deploy directory

If you save a FAB as a file ending in .fab, you can deploy it simply by copying it into the InstallDir/deploy directory.
Red Hat JBoss Fuse monitors files in the InstallDir/deploy directory and hot deploys any files that have a recognized suffix. Each time a FAB file is copied to this directory, it is installed in the runtime and also started. You can subsequently update or delete the FABs, and the changes are handled automatically.
For example, if you have just built the FAB, ProjectDir/target/fabulous-1.0.fab, you can deploy this FAB by copying it to the InstallDir/deploy directory as follows (assuming you are working on a UNIX platform):
% cp ProjectDir/target/fabulous-1.0.fab InstallDir/deploy
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.