At the DTL level, how to Rollback a message so as to retry that message again
Consider the below scenario:
1. HL7 Service -> Process
2. DTL makes a call to a webservice (Post) via a REST operation via SendRequestSync call.
a. if the post is successful, end the DTL
b. if the server that hosts the webservice is down, i would like to keep retrying with the same message and not lose any messages in the queue.
does a simple "quit 0" at the DTL will rollback the message and will retry? please let me know how not to lose any messages if the webservice server is down.
Appreciate it.
May be set Failure time = -1 (at the REST operation component)?
Will that help, to keep retrying the same message until the connection is re-established with the external webservice server?
May be set Failure time = -1 (at the REST operation component)?
Will that help, to keep retrying the same message until the connection is re-established with the external webservice server?
May be set Failure time = -1 (at the REST operation component)?
Will that help, to keep retrying the same message until the connection is re-established with the external webservice server?
does anyone know what a 'quit 0' at DTL know will do?
Does anyone know what 'quit 0' at DTL level do?
does any one know what 'quit 0' will do at the DTL level? Does this retry the same message? Appreciate it.
I wouldn't use a DTL for process flow control. I would have a BPL make those decisions and use the DTL strictly for transformation of the message. The BPL diagram can then just fall through to the end once the REST call is successful. The operation doing the REST call should then handle the infinite retry, Failure Timeout of -1 would tell it to never stop retrying as you said.
Hi!
Assuming you meant "BPL" (Business Process Language) instead of "DTL" (Data Transformation Langue):
If you simply want your Business Operation to try forever until it gets it done:
More about "Reply Code Actions" here.
Kind regards,
Amir Samary
Social networks
InterSystems resources
Log in or sign up
Log in or create a new account to continue
Log in or sign up
Log in or create a new account to continue
Log in or sign up
Log in or create a new account to continue