on 08-27-2020 4:08 PM
Hello Experts,
We are working on the scenario, where we have to split the incoming payload to multiple based on the XPATH content.
The incoming JSON payload contains combined data with 3 countries and i want to send it to individual country end-points. e.g. if the incoming payload contains 10 records, 3 for US, 2 for IN and 5 for UK, the output should be 3 messages with 3 records for US, 2 for IN and 5 for UK.
I am using General Splitter then the router with 3 branches and having a Gather step on each branch. The problem is Gather is collecting all the records. For testing, we removed the Gather step and we could see records splitting as per the country but we want to Gather them individually which doesn't seem happening.
Any limitation of having only 1 Gather per Splitter? Please confirm.
Thanks in advance.
Regards
Hi Rajiv,
Splitter will not work correctly with Router . Check this blog from Sriprasad
https://blogs.sap.com/2017/06/01/sap-cloud-platform-integration-content-filter-in-detail/
Either you can use
1. Parallel processing with Content filter
2. After router use Aggregator to collect messages as per country code.
Regards,
Satya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot Satya. You pointed out to the right blog. We were able to Filter the records now per country using "contains" function as mentioned in the blog.
Regards
Rajeev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.