I have 100 devices that do simple calculation. The only way to extract data from those devices is by their REST API. I want to schedule a task every minute to collect every new data from those 100 devices.
Each device have its own API endpoint and all the payloads to collect the data are identical for each device. To be able to invoke the REST API I need to provide a valid token. This token can be acquired by calling the authentication (/auth/token) function from each REST API endpoints with specific usernames and passwords
They have all the same version, so the exact same logic is needed to collect the data. I found out we can use WSO2-ESB to collect data.
What I've done so far:
- I create an Entreprise Integration Connector for the devices.
- I create a New Integration project in the Integration Studio.
- I use the Connector and Schedule a task that do the sequence logic to test data collection from 1 device.
- Now I need to scale from collecting 1 device to 100 devices at the same time.
How can I collect all devices at once using the same logic with WSO2-ESB?