B
B
Bonce2019-11-20 23:49:25
Software design
Bonce, 2019-11-20 23:49:25

How not to lose data that came from an external system?

Good afternoon! Faced a problem:
The user initiates an action to send a document from an external system (no access to it) to my system. My system, upon receiving the document, performs simple conversions, then sends it to another external system, which should take into account the converted document and return the status "Success" to my system. At the stage "came into my system"->"status returned successfully", errors may occur: during simple transformations, while sending a request-response to a third-party system, and even in the last external system, something may go wrong. How, in such negative cases, to save the document and not lose it, and preferably re-send to a third-party system until the answer is "Success"? I can't use the DBMS, because the application does not provide for the need for a DBMS. So far I'm leaning towards the JMS message queue.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
shurshur, 2019-11-21
@Bonce

You can, for example, simply save any data in files before significant operations in order to repeat their processing if necessary. And the requirement for the absence of a DBMS can be bypassed by using embedded databases like sqlite / berkeleydb, which is often done in such cases.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question