Originally posted by Stephen Bull
Hi,
I've setup a new thread with inbound replies for each outbound message. With Await Replies selected for the Inbound Replies section configuration is as follows:
Timeout is set to 900 (i.e. 15 mins);
I have a Tcl TPS proc for Reply 'generation';
a Tcl TPS for TPS Inbound Reply (for reply message processing) and the Trx id determination Format is Health Level Seven (hl7) version 2.3, with a custom variant ACK message requiring just an MSH and an MSA segment.
The sending facility is sending reply messages for every message they receive from our engine and my thread is accepting them ok for the first message through on thread start, but not subsequent messages.
So, the first message goes out, I receive an acknowledgment ok, and then the second message goes out. Then I appear to just be waiting for a reply and my messages all go to pending. If I stop and restart the thread, this next message goes out ok, an ack is received ok, and the next pending message goes out, but then my thread waits again. To get through my pending messages I have to stop and start the thread every time to get one message out.
Could this have anything to do with open sockets/ports on the receiving end? Perhaps one is getting closed with every message when my thread expects them to always be open?
Any help is greatly appreciated!
Thanks,
Stephen