![]() Bumps [com.rabbitmq:stream-client](https://github.com/rabbitmq/rabbitmq-stream-java-client) from 0.19.0 to 0.20.0. - [Release notes](https://github.com/rabbitmq/rabbitmq-stream-java-client/releases) - [Commits](https://github.com/rabbitmq/rabbitmq-stream-java-client/compare/v0.19.0...v0.20.0) --- updated-dependencies: - dependency-name: com.rabbitmq:stream-client dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.. | ||
.mvn/wrapper | ||
src/main | ||
.gitignore | ||
mvnw | ||
mvnw.cmd | ||
pom.xml | ||
README.md | ||
start-broker.sh |
Java code for RabbitMQ tutorials
Here you can find Java code examples from RabbitMQ tutorials.
To successfully use the examples you will need a running RabbitMQ server with the stream plugin enabled.
See First Application With RabbitMQ Streams, Stream plugin documentation and how to preconfigure plugins.
Requirements
These examples use the rabbitmq-stream-java-client
client library.
This example uses Maven to manage dependencies.
Code
Code examples are executed via the Maven wrapper ./mvnw
.
Remove the -q
flag to get more information in case an example does not behave as expected.
./mvnw -q compile exec:java '-Dexec.mainClass=Send'
./mvnw -q compile exec:java '-Dexec.mainClass=Receive'
To learn more, see rabbitmq/rabbitmq-stream-java-client
.