The following tools are needed to build Qpid Broker-J
JAVA_HOMEenvironment variable and include its bin directory in your
M2_HOMEenvironment variable and include its bin directory in your
Checkout sources from git repository
git clone https://gitbox.apache.org/repos/asf/qpid-broker-j.git
Navigate into checkout directory and execute maven command
mvn clean package
Unit tests are executed as part of maven lifecycle phase
test and integration tests are executed as part of maven phase
verify. An execution of integration tests is skipped by default (except for protocol tests). In order to run all integration tests a flag
skipITs needs to be set to
false. For example,
mvn verify -DskipITs=false
The command above executes both unit and integration tests. To run only unit tests use the command below.
Broker distribution bundle is built as part of maven lifecycle phase
package, for example
mvn clean package -DskipTests
The broker distribution assemblies will then be found beneath:
For full details, see chapter
Getting Started in broker documentation. The brief instructions are repeated here.
Expand the assembly produced by the maven lifecycle stage
tar xvfz apache-qpid-broker-j/target/apache-qpid-broker-j-x.x.x-SNAPSHOT-bin.tar.gz -C /target/directory
Expand zip apache-qpid-broker-j/target/apache-qpid-broker-j-x.x.x-SNAPSHOT-bin.zip
The Qpid Broker-J stores its configuration and message data in working directory. The path to working directory can be specified using environment variable
Examples of declaration of environment variable
QPID_WORK are given below.
Navigate to directory where Qpid broker bundle was expanded and execute Qpid broker start-up script
By default, the Broker listens on port 5672 for AMQP and 8080 for http management. The default username is ‘guest’ and password is ‘guest’.
To get to the management console, point a browser to
JIRA is used as an issue tracking system for Qpid Broker-J. A JIRA ticket needs to be raised for the issue.
The changes can be submitted as pull request against github mirror of Apache Qpid Broker-J repo:
Here is a set of simple instructions to follow in order to contribute changes. Please note, that changes need to be implemented on master branch first before they can be ported into specific version support branch.