JHipster module for messaging microservices with Spring Cloud Stream
This is a JHipster module, that is meant to be used in a JHipster application.
As this is a JHipster module, we expect you have JHipster and its related tools already installed:
To install this module:
npm install -g generator-jhipster-spring-cloud-stream
To update this module:
npm update -g generator-jhipster-spring-cloud-stream
To install this module:
yarn global add generator-jhipster-spring-cloud-stream
To update this module:
yarn global upgrade generator-jhipster-spring-cloud-stream
In your JHipster project, launch:
yo jhipster-spring-cloud-stream
This module will:
- add new dependencies:
spring-cloud-stream-dependencies
- add configuration to your
application-dev.yml
andapplication-prod.yml
- add a new endpoint, so you can get and send messages
- a new docker-compose file:
rabbitmq.yml
Don't forget to start your RabbitMQ with:
docker-compose -f src/main/docker/rabbitmq.yml up -d
Then, start your project, go to Swagger UI and test the endpoint.
Apache-2.0 © Pascal Grimaud and the respective JHipster contributors