Originally posted by Mike Shoemaker
We have an interface to a custom built patient/bed tracking application. The interface uses the HTTP TCL package to POST HL7 messages to a webservice running IIS. I am using an Outbound TPS proc to post the HL7 messages. It "kinda" works as long as the receiving webservice is up and running. When it goes down, the messages write out to the error database and are lost until they are resent. With a tcp/ip socket connection however, when the remote host is unreachable, the connecting cloverleaf thread goes into 'opening' status and when messages start pending, the thread turns red. Once the remote system comes back online, the thread connects and the messages flow as expected. Is there any way that this can happen for an HTTP post type of delivery? Since each time a message is posted to a url, you connect, post and then disconnect, how can the availability of a remote host be determined and when its not available, hold the messages until the host is available? I do not want an "error" to happen when the remote host is down, i simply want to hold the messages in queue until the remote side is available as is currently happening with a dedicated socket connection.
Thanks
Mike