0

在这里,我对我的落点问题感到困扰。

Here is the scenario:
-> we are using JAVA POST api for inserting values in sage database(Using flowgear sage evolution node).
-> when we are online, and the workflow is called from api then everything works fine.
-> But when i am offline or out of internet(my workflow is not call) 
   then it gives workflow offline error.  
   i.e "DropPoint '****-***' is offline and is required for this Workflow".

那么,有没有办法在我们离线时管理命中和数据丢失。[当我离线时,我会想念要插入到 sage 中的数据,并且会调用 api] 请您指导我。谢谢

4

1 回答 1

1

Flowgear 并不是真的打算处理这个问题。最好在源处缓存要发送的内容,并能够保留未发送的数据,直到成功集成。

也就是说,这是推荐的方式:

  1. 决定在哪里存储未处理的数据。如果是少量数据,您可以使用 Flowgear Cacher 或 Statistics,但最好有一个数据库(例如 Azure 中的 SQL)

  2. 绑定到 REST 端点并从您的应用程序调用的工作流应修改为仅将数据存储在上述中间存储中。(即它的作用是对数据进行排队)。

  3. 创建第二个工作流,该工作流使用计时器或触发器检查中间存储中的数据并对其进行处理。

于 2016-02-23T07:06:20.767 回答