Hi,
I am using publishAndWait in my flow service .
publishAndWait is waiting for the entire duration of wait period and then exits .I have placed a higher wait time which is causing performance degradation.
When I use publish it takes 5 seconds but when I use publishAndWait its taking 20 min for 4 documents . This is because of the publishAndWait has 5 min wait time .
I want the publishAndWait to exit as soon as it receives the reply document rather than waiting till wait period. Do I need to set any paramters in reply service or publishAndWait?
Any setting to be done based on envelope?
#webMethods#Flow-and-Java-services#Integration-Server-and-ESB