ProcessDirect adapter
The SAP BTP Integration Suite offers various adapters for integration flow developers to utilize. Among these are frequently used options such as HTTPS, SFTP, OData, and Mail.
See Configure Adapter in Communication Channels
In this post, I would like to demonstrate one of the adapters that could potentially be used in BTP development to facilitate communication between different iFlows within the same BTP tenant. The adapter I am referring to is ProcessDirect.
See ProcessDirect Adapter
When do I need to start using this adapter?
According to the documentation provided by SAP, you can commence using the ProcessDirect adapter when you require establishing fast communication between iFlows hosted within one BTP tenant.
Additional information
Before the development of the iFlows begins, it is necessary to bear in mind that several producer iFlows can trigger one consumer iFlow using the ProcessDirect adapter.
While configuring the ProcessDirect adapter, please pay attention to the receiver address that you are using to trigger the consumer iFlow from the producer iFlow.
Example
For demonstration purposes, I am going to create two producer iFlows that will have the Content Modifier step in them. The Content Modifier step is used to create the new exchange property and then print it out in the message body.
Here are the settings of the ProcessDirect adapter for two producer iFlows
Moving to the consumer iFlow now. To make the consumer iFlow available to be started from the producer, it is required to set up the ProcessDirect adapter as a starting entry point by providing the correct address. Please refer to the screenshot below.
After deploying the changes, I am triggering the first producer's endpoint
and the second one
If I open the Monitoring tool, I would be able to see two calls of Producers' iFlow and two calls of Consumer's iFlow as well.
I hope this makes sense.