on 06-23-2017 7:05 AM
Hello,
In my iFlow, I want to trigger two different OData calls and then merge the results of the two. I know about the Gather/Join patterns that can be used to merge two or more messages. However, I am facing trouble setting up the two branches for the OData calls, both of which I want to be always processed. I've tried using a Router but with that, only one of the branches (or routes) will be processed.
Any ideas how this can be achieved?
Thanks,
Akshat
Hello Akshat,
First option would be have a parallel multicast and then use join gather to merge both the data.
Second option is (not recommended for huge data) post first request reply store the data in a property( you can use content modifier) and process with the second call and then merge both the calls data using content modifier.
Third option to go with Content Enricher with combine option.
Regards,
Sriprasad Shivaram Bhat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sriprasad,
Thanks for your answer. I had already tried using Parallel Multicast but it wasn't allowing me to use it as the first step in my iFlow (right after the timer start event).
I've been playing around with the Content Modifier pattern. Hopefully, I'll be able to crack it. However, the fact is that there is huge data involved here and, like you said, this may not be the best way.
I am also trying an alternative way that may not need me to make the two calls in the first place. Let's see.
Thanks once again for your help.
Regards,
Akshat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Akshat,
Have a content modifier just before parallel multicast or after timer element with some dummy data then it should work.
Regards,
Sriprasad Shivaram Bhat
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.