Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/apache/activemq-artemis-examples
Apache ActiveMQ Artemis Examples
https://github.com/apache/activemq-artemis-examples
activemq activemq-artemis amqp amqp10 amqps apache broker hornetq java jms messaging mqtt openwire stomp
Last synced: 3 months ago
JSON representation
Apache ActiveMQ Artemis Examples
- Host: GitHub
- URL: https://github.com/apache/activemq-artemis-examples
- Owner: apache
- License: apache-2.0
- Created: 2023-12-14T12:22:20.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-29T14:50:40.000Z (4 months ago)
- Last Synced: 2024-10-01T01:06:38.770Z (3 months ago)
- Topics: activemq, activemq-artemis, amqp, amqp10, amqps, apache, broker, hornetq, java, jms, messaging, mqtt, openwire, stomp
- Language: Java
- Homepage: https://activemq.apache.org/components/artemis
- Size: 1.45 MB
- Stars: 23
- Watchers: 16
- Forks: 22
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# ActiveMQ Artemis Examples
This repository contains various examples demonstrating many of the features of [Apache ActiveMQ Artemis](https://activemq.apache.org/components/artemis/).
## Getting Started
### Prepare the broker distribution
To begin, run the following at the root of your examples checkout to prepare a broker distribution for use.
```
mvn clean package
```This will establish a broker installation within the _artemis-distribution_ module in the root, which the individual examples will then reference while creating a broker instance when they are run.
### Running individual examples
After preparing the broker distribution as above, you can then run most individual examples by changing into their directory and running `mvn verify` or `mvn install` (See the readme.md file in each example directory for specific details).
For instance, a simple introductory example would be the ["queue"](examples/features/standard/queue/) example. To run it, do the following:
```
cd examples/features/standard/queue/
mvn clean verify
```This will start a broker instance, using the previously prepared broker installation in _artemis-distribution_, and then run the example client application against it, which will print having produced and consumed a message.
## Contributing
See [CONTRIBUTING](CONTRIBUTING.md) for details.