Este conteúdo não está disponível no idioma selecionado.
5.6. Red Hat JBoss Data Grid and Red Hat JBoss Fuse
5.6.1. Installing camel-jbossdatagrid for Red Hat JBoss Fuse Copiar o linkLink copiado para a área de transferência!
camel-jbossdatagrid, ensure that both JBoss Data Grid 6.5 and JBoss Fuse 6.1 (Full Installation) are installed.
Procedure 5.1. Installing JBoss Data Grid
- For information about installing JBoss Data Grid, see Part II, “Download and Install Red Hat JBoss Data Grid”. Only the following JBoss Data Grid components are required to run the camel component in JBoss Fuse:
- JBoss Data Grid Maven repository.
- The JBoss Data Grid Server package (to use the Hot Rod client).
camel-jbossdatagrid library is also available in a separate distribution called jboss-datagrid-6.5.1-camel-library.
Procedure 5.2. Installing JBoss Fuse
Before attempting to install and use Red Hat JBoss Fuse, ensure your system meets the minimum requirements. For supported Platforms and recommended Java Runtime platforms, see the Red Hat JBoss Fuse Installation Guide.
- 700 MB of free disk space
- 2 GB of RAM
Download the JBoss Fuse Full Installation
You can download the Red Hat JBoss Fuse archive from theRed Hat Customer Portal>Downloads>Red Hat JBoss Middleware>Downloadspage, after you register and login to your customer account.When logged in:- Select , listed under in the sidebar menu.
- Select from the Version drop-down list on the Software Downloads page.
- Click the button next to the Red Hat JBoss Fuse 6.1.0 distribution file to download.
JBoss Fuse allows you to choose between installations that contain different feature sets. To run JBoss Data Grid with JBoss Fuse, the Full installation is required. The Full installation includes the following:- Apache Karaf
- Apache Camel
- Apache ActiveAMQ
- Apache CXF
- Fuse Management
- Console (hawtio)
- JBI components
Unpacking the Archive
Red Hat JBoss Fuse is installed by unpacking an archive system on a system. JBoss Fuse is packaged as a zip file. Using a suitable archive tool, unpack Red Hat JBoss Fuse into a directory to which you have full access.Warning
Do not unpack the archive file into a folder that has spaces in its path name. For example, do not unpack intoC:\Documents and Settings\Greco Roman\Desktop\fusesrc.Additionally, do not unpack the archive file into a folder that has any of the following special characters in its path name: #, %, ^, ".Adding a Remote Console User
The server's remote command console is not configured with a default user. Before remotely connecting to the server's console, add a user to the configuration.Important
The information in this file is unencrypted so it is not suitable for environments that require strict security.To add a user:- Open
InstallDir/etc/users.propertiesin your favorite text editor. - Locate the line
#admin=admin,admin. This line specifies a useradminwith the passwordadminand the roleadmin. - Remove the leading # to uncomment the line.
- Replace the first
adminwith a name for the user. - Replace the second
adminwith the password for the user. - Leave the last
adminas it is, and save the changes.
Note
To access the Fuse Management Console to monitor and manage your Camel routes, ActiveMQ brokers, Web applications, and so on, open a browser to, after starting Red Hat JBoss Fuse.http://localhost:8181/hawtio
Red Hat JBoss Fuse Maven Repositories
To use Maven to build projects, specify the location of the artifacts in a Mavensettings.xmlfile.The following JBoss Fuse Maven repository contains the required dependencies for Camel and must be added to thesettings.xmlfile.https://repo.fusesource.com/nexus/content/groups/public/
https://repo.fusesource.com/nexus/content/groups/public/Copy to Clipboard Copied! Toggle word wrap Toggle overflow The JBoss Fuse repository runs alongside the JBoss Data Grid repository.JBoss Data Grid includes afeatures.xmlfile for Karaf that deploys all artifacts required for thecamel-jbossdatagridcomponent. This file is not included in the JBoss Fuse container distribution. Thefeatures.xmlfile is injboss-datagrid-6.5.1-maven-repository/org/apache/camel/camel-jbossdatagrid/${version}/. No further configuration of the JBoss Data Grid repository is required.For more information about installing and getting started with JBoss Fuse, see the Red Hat JBoss Fuse documentation on the Red Hat Customer Portal.