I’m setting up a couple of new threads in our engine, both of which require acknowledgment messages for each outbound message.
Within Thread Configuration and the Outbound tab, I have selected Await Replies for the Inbound Replies section. 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, but we don’t appear to be receiving the replies (and thus pending all other messages on our end). We already have dozens of other threads within our engine that work just fine with reply messages. These have been around for some time and were setup by the previous employee here. I have mimicked their setup and triple-checked the configs for correctness. The Tcl TPS code used for handling replies etc. are pre-existing global code-sets that are in use and working with all other threads. I even added a small Tcl TPS that outputs the reply message in its raw form to a log file before processing with any other TPS. This works OK with other threads (as soon as a reply is received I see it in our log files), but for my two new threads I don’t see anything. This is why I’m thinking I’m just not receiving the reply messages, but the two systems that are replying to me know for sure the reply messages are going out.
I also created a Java server socket for receiving messages from our engine and replying to them. I am now seeing firsthand with my socket code that a message is received OK, and a reply message is sent, but our engine just doesn’t seem to receive it. (I also created a Java client socket which does receive the reply from my server socket OK, so I know that is working.)
I’m tearing my hair out!! Any help is greatly appreciated!
We are running QDX5.3 on Windows Server 2003.
Thanks!