No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gradle/wrapper
src/main/java/io/muoncore/example
.gitignore
Dockerfile
README.adoc
build.gradle
gradlew
gradlew.bat
settings.gradle

README.adoc

Gradle example for Muon Java

This example project shows how to make a couple of simple Muon services and have them communicate.

First, check the project compiles, downloading gradle automatically via the gradle wrapper embedded in the project.

./gradlew assemble

Before You Start

This project is configured to use the AMQP discovery and transport for Muon.

You will need an AMQP broker available that you can connnect to.

You can set the AMQP url to connect in the application.properties file

Run the server

The first service has an RPC endpoint and a reactive stream endpoint.

Run it in one console with :-

./gradlew runServer

Run the client

In a different console, run the client and see an RPC exchange between the services.

./gradlew runClient