Communication
WeDAA supports the definition of Inter-service communication among Components such as UI and Services nodes.
These definitions will generate a reference API or message broker configurations based on the design in canvas.
Communication options
Type | Framework | Comment |
---|---|---|
Asynchronous | RabbitMQ | Asynchronous communication using RabbitMQ message broker |
Synchronous | REST | Synchronous communication using HTTP REST API |
RabbitMQ
WeDAA provides dockerfile for starting RabbitMQ server quickly.
RabbitMQ server can be started using below command
docker compose -f src/main/docker/rabbitmq.yml up --wait
RabbitMQ's management console can be accessed on http://localhost:15672/
Default Credentials:
username: guest ; password: guest
Producer service has a cron, that publish events periodically every few seconds.
Consumer service is configured to receive events generated by the Producer.
REST API
WeDAA generates a sample REST API in both client and server.
API in the client is configured to invoke the server API on HTTP.