on 09-22-2017 10:48 AM
Hi
I have a scenario where I need to execute some nodes in sequence.
<MT_xyz>
-<Header1>
-<Header2>
-<Header3>
</MT_xyz>
I want the Header1 to get executed first and Header2 with a delay of 30sec.
In the other blogs and discussions I could only see the code(UDF to add thread.sleep) which delays the whole mapping execution by specified time, but I need it for sub nodal level as explained above.
Please help in this regard!
Thanks
Sowmya
Hi Sowmya!
First of all, where such a strange requirement is coming from? What is the meaning?
Actually, it seems to me that this could be easily achieved by using SAX parser functionality along with thread.sleep() method.
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sowmya,
If you wish to send the messages to target system with delay,You can try spiliting the messages in first flow like header1,header2,body.Then follow soap lookup back approach and use thread sleep for for header2 mappings and body mappings.
Check the below link for the soap look back approach.
https://blogs.sap.com/2015/01/28/multi-mapping-with-dynamic-configuration-soap-loopback-approach/
Flows will be like.
First message------Header1
--------Header2
----------Body
Second flow for each messages
Header1----------------Target
Header2-Delay in mapping-Target
Body---Delay in mapping-Target
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not Sure Eve.My understanding could be wrong.
I am understanding that message should be split and then delay is required for each message.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.