From | To | Note |
---|---|---|
External provider | RabbitMQ ingress exchange (WriterRoute) |
If valid payload |
- | RabbitMQ ingress-dl exchange |
if invalid payload |
- | RabbitMQ fastline exchange (FastlineRoute) |
If Provider URI requests fastline |
REST Route is the Camel Route responsible for listening to REST API calls on the perimeter.
REST Route listens to any POST request on a single port (by default 8080
).
The path a provider uses to make requests is interpreted by the system as Provider URI for the data transported in the request body.
For example, executing the following request:
curl -H 'Content-Type: application/json' \
-d '{ "title":"foo","body":"bar", "id": 1}' \
-X POST \
https://localhost:8080/skidata/carezza/paolina?fastline=true
will result in the system associating to the request body the following Provider URI
skidata/carezza/paolina?fastline=true
To make REST requests we suggest using Insomnia or any other REST client.