activemq-artemis/examples/protocols/amqp/queue
Clebert Suconic 0e2ce484ba [maven-release-plugin] prepare for next development iteration 2021-08-06 13:46:56 -04:00
..
src/main/java/org/apache/activemq/artemis/jms/example ARTEMIS-876 Remove all reliances on JMS prefixing 2016-12-09 18:43:15 +00:00
pom.xml [maven-release-plugin] prepare for next development iteration 2021-08-06 13:46:56 -04:00
readme.md ARTEMIS-1562 Refactor example documentation 2017-12-15 14:54:16 +00:00

readme.md

Proton qpid java example

To run the example, simply type mvn verify from this directory, or mvn -PnoServer verify if you want to start and create the broker manually.

ActiveMQ Artemis is a multi protocol broker. It will inspect the initial handshake of clients to determine what protocol to use.

All you need to do is to connect a client into activemq's configured port and you should be able connect.

To run this example simply run the command mvn verify -Pexample, execute the compile.sh script and start the executable called ./hello.

You don't need to do anything special to configure the ActiveMQ Artemis broker to accept AMQP clients.

Just for the sake of documentation though we are setting the port of ActiveMQ Artemis on this example as 5672 which is the port qpid have by default.

This is totally optional and you don't need to follow this convention. You can use any port you chose including ActiveMQ's 61616 default port

<acceptor name="proton-acceptor">tcp://localhost:5672</acceptor>