generator-jhipster-spring-cloud-stream
v1.0.0
Published
JHipster module for messaging microservices with Spring Cloud Stream
Downloads
8
Maintainers
Readme
generator-jhipster-spring-cloud-stream
JHipster module for messaging microservices with Spring Cloud Stream
Introduction
This is a JHipster module, that is meant to be used in a JHipster application.
Prerequisites
As this is a JHipster module, we expect you have JHipster and its related tools already installed:
Installation
With NPM
To install this module:
npm install -g generator-jhipster-spring-cloud-stream
To update this module:
npm update -g generator-jhipster-spring-cloud-stream
With Yarn
To install this module:
yarn global add generator-jhipster-spring-cloud-stream
To update this module:
yarn global upgrade generator-jhipster-spring-cloud-stream
Usage
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.
License
Apache-2.0 © Pascal Grimaud and the respective JHipster contributors