Installation Guide
Installing Red Hat JBoss A-MQ on a computer
Copyright © 2011-2015 Red Hat, Inc. and/or its affiliates.
Abstract
Chapter 1. Installation Prerequisites
Abstract
1.1. Supported Platforms
1.2. Java Runtime
1.3. Supported Standards and Protocols
1.4. Hardware requirements
- 300 MB of free disk space
- 2GB of RAM
Chapter 2. Installing
Abstract
Getting the archive
- Select A-MQ, listed under Integrated Platforms, in the sidebar menu.
- Select
6.2.1or6.2.0from the Version drop-down list on the Software Downloads page. - Click the Download button next to the Red Hat JBoss A-MQ distribution file you want to download.
Unpacking the archive
.zip file. Using a suitable archive tool, such as Zip or Gunzip, unpack Red Hat JBoss A-MQ into a directory to which you have full access.
C:\Documents and Settings\Greco Roman\Desktop\amq.
#, %, ^, ".
Chapter 3. Adding a Remote Console User
Abstract
3.1. Add a User
InstallDir/etc/users.properties.
- Open
InstallDir/etc/users.propertiesin your favorite text editor. - Locate the line
#admin=admin,admin,manager,viewer,Operator, Maintainer, Deployer, Auditor, Administrator, SuperUser.This line specifies a useradminwith the passwordadminand comma-separated list of roles. - Uncomment the line by removing the leading
#. - Change the first
adminto the desired user name. - Change the second
adminto the desired password. - Leave the role list,
admin,manager,viewer,Operator, Maintainer, Deployer, Auditor, Administrator, SuperUser, as is. - Save the changes.
Chapter 4. Verifying the Installation
Abstract
4.1. Verify the Installation
- Log in as the user with ownership permissions for the JBoss A-MQ installation.
- Open a command shell at
InstallDir. - Start the broker using the start command.
Windows bin\start.bat Unix ./bin/start - Run the producer client with the following command:
- Linux/UNIX
./bin/client "activemq:producer --user Username --password Password"
- Windows
.\bin\client.bat "activemq:producer --user Username --password Password"
The producer will connect to the broker and produce 100 messages. Example 4.1, “Test Producer Output” shows the producer's output.Example 4.1. Test Producer Output
$ ./bin/client "activemq:producer --user Username --password Password" client: JAVA_HOME not set; results may vary Logging in as admin 1073 [sshd-SshClient[6575deb1]-nio2-thread-3] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at [/0.0.0.0:8101, DSA, af:77:de:7f:c9:32:f0:b0:ed:12:0e:cd:56:35:fe:78] presented unverified {} key: {} $ - To check that the messages have been enqueued, enter the following command:
- Linux/UNIX
./bin/client activemq:dstat
- Windows
.\bin\client.bat activemq:dstat
- Run the consumer client with the following command:
- Linux/UNIX
./bin/client "activemq:consumer --user Username --password Password"
- Windows
.\bin\client.bat "activemq:consumer --user Username --password Password"
The consumer will connect to the broker and consume 100 messages. Example 4.2, “Test Consumer Output” shows the consumer's output.Example 4.2. Test Consumer Output
$ ./bin/client "activemq:consumer --user Username --password Password" client: JAVA_HOME not set; results may vary Logging in as admin 235 [sshd-SshClient[1d6f6a81]-nio2-thread-1] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at [/0.0.0.0:8101, DSA, af:77:de:7f:c9:32:f0:b0:ed:12:0e:cd:56:35:fe:78] presented unverified {} key: {} $ - To check that the messages have been dequeued, enter the following command:
- Linux/UNIX
./bin/client activemq:dstat
- Windows
.\bin\client.bat activemq:dstat
Chapter 5. Offline Mode
Abstract
5.1. Supported Functionality
- Runtime dependencies—the dependencies required to run the JBoss A-MQ container, in its default configuration.
- Build-time dependencies—the dependencies required to build a custom application (which might include third-party libraries).
- Running the JBoss A-MQ container in its default configuration—is supported in offline mode. The default configuration of the JBoss A-MQ container is specified by the
featuresBootproperty in theetc/org.apache.karaf.features.cfgfile. The requisite dependencies are all provided in thesystem/sub-directory of the installation. - Installing additional features—is, in general, not supported in offline mode. In principle, you can use the
features:installcommand to install any of the features from the standard feature repositories (as specified by thefeaturesRepositoriesproperty in theetc/org.apache.karaf.features.cfgfile), but the majority of these features must be downloaded from the Internet and are thus not supported in offline mode. - Deploying custom applications—is, in general, not supported in offline mode. There may be some cases where an application with a minimal set of build-time dependencies is deployable offline, but in general, custom applications would have third-party dependencies that require an Internet connection (so that JAR files can be downloaded by Apache Maven).
Chapter 6. Installing the Messaging Client Packages
Abstract
6.1. Installing Clients on Red Hat Enterprise Linux
Required subscriptions
- Red Hat JBoss A-MQ 6.2.0 or 6.2.1
- RHEL 5, 6, or 7
RPM repositories
Table 6.1. RPM Repositories for A-MQ Clients
| Platform Version | RPM Repository |
|---|---|
| RHEL 7 | a-mq-clients-1-for-rhel-7-server-rpms
|
| RHEL 6 | a-mq-clients-1-for-rhel-6-server-rpms
|
| RHEL 5 | a-mq-clients-1-for-rhel-5-server-rpms
|
Qpid JMS AMQP 1.0 Java client
# yum install qpid-jms-client qpid-jms-client-docs qpid-jms-client-examples qpid-jms-client-maven-repo
Qpid C++ client
# yum install qpid-cpp-client qpid-cpp-client-devel
Python language bindings for Qpid Proton
# yum install python-qpid-proton python-qpid-proton-doc
Compiling the Qpid C++ client from sources on RHEL 6
nss-devel). In order to compile from sources, it is recommended that you install the Qpid C++ client through the Server channel instead.
6.2. Installing Clients on All Other Platforms
Downloading the client packages
- Navigate to the Red Hat Software Downloads page on the Red Hat Customer Portal.
- Select A-MQ under Integration Platforms in the sidebar menu (or using the drop-down menu for the Product field).
- Choose version
6.2.1or6.2.0from the Version drop-down list on the Software Downloads page. - Click Download next to the client package that you want to download.
Available 6.2.1 messaging client packages
Table 6.2. Messaging Client Packages
| Package Name | Description |
|---|---|
|
Red Hat JBoss A-MQ 6.2.1 AMQP 1.0 JMS Client 0.5.0
jboss-a-mq-6.2.1-apache-qpid-jms-0.5.0.redhat-1-bin.zip
|
Provides the Qpid JMS client 0.5.0 library.
|
|
Red Hat JBoss A-MQ 6.2.1 QPID C++ Client for Windows 64bit Visual Studio 2012 v3.34.4.1
jboss-a-mq-6.2.1-qpidcpp-x64-VS2012-3.34.4.1.zip
|
Provides the Qpid CMS client library for Windows.
Important: The Qpid C# libraries (
org.apache.qpid.messaging*.dll) and examples included in this archive (under the dotnet_examples directory) are not supported. JBoss A-MQ supports only the Qpid C++ client libraries.
|
|
Red Hat JBoss A-MQ 6.2.1 C++ Client
jboss-a-mq-cpp-6.2.1.redhat-084.zip
| Provides the Apache ActiveMQ C++ client library source code for building on Linux, UNIX, and Windows. |
|
Red Hat JBoss A-MQ 6.2.1 AMQP 1.0 .NET Client for Windows SDK
jboss-a-mq-6.2.1-amqpnetlite-1.1.0.3-1-sdk.zip
| Provides the AMQPNet.Lite SDK for developing AMQP 1.0 .NET clients on Windows. |
|
Red Hat JBoss A-MQ 6.2.1 .NET Client
jboss-a-mq-nms-6.2.1.redhat-084.zip
| Provides the Apache ActiveMQ NMS .NET client library for Windows. |
C:\Documents and Settings\Greco Roman\Desktop\fusesrc.
Available 6.2.0 messaging client packages
Table 6.3. Messaging Client Packages
| Package Name | Description |
|---|---|
|
Red Hat JBoss A-MQ 6.2.0 AMQP 1.0 JMS Client
apache-qpid-jms-0.2.0.redhat-1-bin.zip
|
Provides the Qpid JMS client library.
|
|
Red Hat JBoss A-MQ 6.2.0 QPID C++ Client for Windows 64bit Visual Studio 2012 v3.32.3.1
qpid-cpp-x64-VS2012-3.32.3.1.zip
|
Provides the Qpid CMS client library for Windows.
Important: The Qpid C# examples included in this archive (under the
dotnet_examples directory) are not supported. JBoss A-MQ supports only the Qpid C++ client libraries.
|
|
Red Hat JBoss A-MQ 6.2.0 C++ Client
jboss-a-mq-cpp-6.2.0.redhat-133.zip
| Provides the Apache ActiveMQ C++ client library source code for building on Linux, UNIX, and Windows. |
|
Red Hat JBoss A-MQ 6.2.0 AMQP 1.0 .NET Client for Windows SDK
amqpnetlite-sdk-1.1.0.2.zip
| Provides the AMQPNet.Lite SDK for developing AMQP 1.0 .NET clients on Windows. |
|
Red Hat JBoss A-MQ 6.2.0 .NET Client
jboss-a-mq-nms-6.2.0.redhat-133.zip
| Provides the Apache ActiveMQ NMS .NET client library for Windows. |
C:\Documents and Settings\Greco Roman\Desktop\fusesrc.
Chapter 7. Monitor Fuse Resources
Abstract
7.1. Installation Procedure
Fuse Plugin Pack for JBoss ON 3.3:
- Navigate to the Red Hat Software Downloads page on the Red Hat Customer Portal.
- Select JBoss ON for Fuse under Management in the sidebar menu (or using the drop-down menu for the Products field).
- Make sure
3.3appears in the Version drop-down list on the Software Downloads page. - Click Download next to Fuse Plugin Pack for Red Hat JBoss Operations Network 3.3 .
- Unzip the plugin package (
jon-plugin-pack-fuse-3.3.0.GA.zip) into a temporary directory (for example,/installDir/server/). - Install the jar files in one of two ways:
- Hot DeployCopy the unpacked jar files into the JBoss Operations Network's
/installDir/server/plugins/directory. For details, see the JBoss Operations Network Installation Guide. - JON Server UIFor details, see the JBoss Operations Network Installation Guide, or watch the video Installing JBoss Operations Network - Part 4, Installing JON Agent Plugins.
Appendix A. Installing the Apache ActiveMQ Standard Distribution
Abstract
extras directory.
A.1. Apache ActiveMQ Distribution
extras directory.
apache-activemq-5.11.0.redhat-620<build#>-bin.zip archive file is provided.
C:\Documents and Settings\Greco Roman\Desktop\fusesrc.
Appendix B. Red Hat JBoss A-MQ Maven Repositories
Abstract
settings.xml file, where required artifacts are located.
B.1. Maven Repositories
- JBoss A-MQ repositoryProvides access to the artifacts in the Red Hat JBoss A-MQ Maven repository. This repository is required.
https://repo.fusesource.com/nexus/content/groups/public/ - JBoss A-MQ Snapshots repositoryProvides access to the artifacts in the Red Hat JBoss A-MQ snapshot kit. This repository is not required, but it is useful if you want to experiment with building your project using different versions of the supplied archetypes.
https://repo.fusesource.com/nexus/content/groups/public-snapshots/ - Apache Public repositoryProvides access to the artifacts in the Apache Maven repository. This repository is not required, but it is useful to include as Red Hat JBoss Fuse depends on various Apache artifacts.
https://repository.apache.org/content/groups/public/
Legal Notice
Trademark Disclaimer
