Skip to Content

Adding Delay to the sub nodes in the mapping

Sep 22, 2017 at 09:48 AM


avatar image


I have a scenario where I need to execute some nodes in sequence.






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!


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Evgeniy Kolmakov Sep 22, 2017 at 09:57 AM

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.

10 |10000 characters needed characters left characters exceeded
Raghuraman S Sep 22, 2017 at 10:21 AM

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.

Flows will be like.

First message------Header1



Second flow for each messages


Header2-Delay in mapping-Target

Body---Delay in mapping-Target

Show 3 Share
10 |10000 characters needed characters left characters exceeded

Hi Raghu!

Isn't the requirement to delay subnodes parsing within message mapping? :-) Or am I wrong?

Regards, Evgeniy.


Not Sure Eve.My understanding could be wrong.

I am understanding that message should be split and then delay is required for each message.


Yes, Raghu, maybe you're right and I may be wrong.