Hi Stephen,
The publish is being done to TIBCO EMS Topic. No response expected for this , and is working without any latency in case of success scenario. But the problem is with Negative Scenario. When the connection to JMS Destination fails the response returned from the "Return Template Response" is getting delayed. I am expecting the "Return Template Response" to return the response immediately since that is checked.
In the Image above, Return Template Response is at line no 22, which should execute first and return response and then execute the line 28 where the JMS Publish Logic is there. But I see the latency in execution of "Return Template Response" when the line 28 fails.