Hi Jim,
I was being a bit generic in my post because we want the code to handle any text being sent back that is not a valid ACK. We work with multiple sites. For one site it could be NAK or 503 and other site for instance we have seen a error text returned because their side was down.
The main issue we have assistance on is we don’t have a method for the thread to either stop or to keep the messages pending and try perhaps to send again in x minutes time. Right now its trying every x seconds
6.1.2 is our version. We use Unix
We are sending an HL7 message using HTTP Client Protocol using Curl and we are get ACK messages for successful transmissions.