XML is sent from a external partner to a service onto our wm environment
the service forwads the xml to wm TN.
Tn Processing rule invokes a service which does some calculations and will be sending the output to target system.
Issue:
In TN we are looking couple of documents received at the sametime(doc1, doc2). Both the documents activity logs looks fine. But doc1 is not being sent to target system. Instead doc2 is sent twice.
( Is it due to the service which is invoked by processing rule , which takes long time to do the processing.? )
Can anybody help me out in solving this issue. Thanks in advance.
What are those static vars? Would the multi-threaded use of those explain the behavior you’re seeing? For example, doc 1 starts being processed and sets one of the vars. Then execution switches to doc 2, which changes that var. Then doc 1 thread resumes and now uses doc 2 data.