on 05-04-2016 3:49 AM
Dear Experts,
As per early requirement, I have a scenario:
Sender(File)------>PO------>Receiver(SOAP) ASYNC
The scenario is Asyn, 1 to N multimapping. If file has 'n' records, receiver will get 'n' web service calls to post each record in different messages. I did it using Java Mapping also based on some other factors. I am reading file and sending 'n' multimap structure out of Java code in Outputstream and splitting it using Multimap envelope and changing service interface cardinality to 0 to unbound. Due to this all webservice requests go to receiver one after other without wait. They come up saying that we should wait for response of web service before launching next call.
The problem here is - we are not handling responses as per early design.
Is it possible to introduce wait with this current design(Async) before making next web service call to receiver?
The second approach I can see to handle it using BPM but I am trying to utilize current design.
Please provide your suggestions.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raghu,
I checked this link. It is not working in my case as I am splitting messages from a file(1 to N multimapping) and need to send each request after a delay.
If I would also be getting every webservice call as separate message instance from sender then probably it could have worked.
Regards
Danish
Hi Praveen,
Yes, you are correct, child messages get processed together in mapping and move out of mapping together. There is no control while using thread.sleep even on top parent or 0 to unbounded node.
I have activated the "maintain order" option and trying to analyze,second call goes to soap only after response is received for the first.
I am just wondering - if any message in between got failed will stop the rest messages in queue. Also, trying to analyze the impact of it in our requirement.
However, there is one more catch because of which we would have to use probably use BPM where we would be required to create a response file collecting all the response messages on target server itself for them to refer logs.
Can we achieve without BPM? I think creating N files can be handled without BPM but in case I have to create one single file of all the responses? What's your views?
Hi Kavita,
I am just wondering - if any message in between got failed will stop the rest messages in queue
Yes if first message failed other messages will be sitting on hold until you clear the first message either by cancel or resend.
Can we achieve without BPM? I think creating N files can be handled without BPM but in case I have to create one single file of all the responses? What's your views?
Yes BPM is the option.
Regards,
Praveen.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.