- This topic has 5 replies, 3 voices, and was last updated 14 years, 3 months ago by .
I have a situation where I am supposed to get an HL7 message and write it down to a DB. I have done a middle step where I move the information to an HRL. So I have three threads where one reads, second gets HRL and the third writes to DB. I wanted to make sure that whenever the DB changes or The credential does the connection hangs or stops. I have thought about stopping the thread through TCL after trying to connect but this is not efficient as the message would go to Error DB so it would not be processed when the thread starts again.
I wanted to have the message in the recovery, so I thought about asking for HL7 reply for the original message. I have passed the MSH segment through HRL and tried to generate the reply but could not. I get a message that you have not disposition the original message.
In general I have three threads A,B and C
A reads the message and send it to B through TCP and waits for replies from B.
B gets the message into HRL and send it to C.
C writes down these info to DB and tries to generate reply.
B forwards C reply to A.
I am stuck with the reply issue.
Any thoughts or comments!!!!
- The forum ‘Cloverleaf’ is closed to new topics and replies.