A ticket booking example using
- Camunda Platform 8,
- RabbitMQ,
- Java Spring Boot App
- NodeJS App
<a href="http://www.youtube.com/watch?feature=player_embedded&v=m3MYuRKLZa8" target="_blank"><img src="http://img.youtube.com/vi/m3MYuRKLZa8/0.jpg" alt="Walkthrough" width="240" height="180" border="10" /></a>
docker run -p 15672:15672 -p 5672:5672 rabbitmq:3-management
- [http://localhost:15672/#/queues/]
- User: guest
- Password: guest
- Login to [https://camunda.io/]
- Create a new cluster
- When the new cluster appears in the console, create a new set of API client credentials.
- Copy the client credentials into
- Java App
booking-service-java/src/main/resources/application.properties
- Node App
fake-services-nodejs/.env
- Java App
If you want to understand the code, please have a look into this get started tutorial: [https://github.com/camunda/camunda-platform-get-started/tree/main/nodejs]
cd fake-services-nodejs
npm update
npm run build
node src/app.js
If you want to understand the code, please have a look into this documentation: [https://github.com/camunda/camunda-platform-get-started/tree/main/spring]
mvn package exec:java -f booking-service-java\
curl -i -X PUT http://localhost:8080/ticket
Simulate failures by:
curl -i -X PUT http://localhost:8080/ticket?simulateBookingFailure=seats
curl -i -X PUT http://localhost:8080/ticket?simulateBookingFailure=ticket