Below mentioned is an overview of the process flow which we are trying to implement.
1. A synchronous interface takes in the request
2. After the mapping, a file is created
3. Another file adapter reads this file and sends a message back to the sync interface. This step is to make sure that the file is created
I'm using a sync-async bridge for this process, since file creation and reading processes are asynchronous and the request/response is synchronous.
Can somebody help me by telling how to design the BPM. How many send and receive steps are required etc?
| Request | | | | | | | | |--------->| | | | | | |File | HTTP| |Sync|--->|Mapping|--->|Async|--->|Adapter| |<---------|I/f |<- | | |I/f | |(write)| | Response | | | | | | | |_______| | | | | | ____|___ || | | | | | -|Async |<--|File Adp|<---|Folder | | I/f | |(read) | |________|