Skip to main content

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

TypeFrameworkComment
AsynchronousRabbitMQAsynchronous communication using RabbitMQ message broker
SynchronousRESTSynchronous communication using HTTP REST API

RabbitMQ

RabbitMQ Guide

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

REST API Guide

WeDAA generates a sample REST API in both client and server.

API in the client is configured to invoke the server API on HTTP.