Subscription process for subscriptions that consume data with an API
Subscription process for subscriptions that consume data with an API
When a subscription consumes data with an API, you run the Consume Data API in order to consume the data. The API retrieves the data from the topic in the relational publication repository and writes the data to the subscribing application.
When you create or edit a subscription that consumes data with an API, you can define a notification URL.
Cloud Integration Hub
sends notifications to this URL when data is ready to consume.
Cloud Integration Hub
must be able to access the notification URL.
The subscription process includes the following stages:
The user triggers the Consume Data API.
The Consume Data API runs the subscription, retrieves the data from the topic that is defined in the subscription, and writes the data to the subscribing application.
If the subscription process fails, you can attempt to consume the published data by reprocessing the subscription Error event with the Consume Data REST API.
You can reconsume data that had previously been processed by triggering the subscription Completed event with the Consume Data REST API.