英文:
How to make async rest call from a synchronous APIGEE Integration?
问题
我有一个要求,即使集成是从我的代理同步调用的,也需要从我的APIGEE集成中发出异步REST调用。这是否可能?
我无法在集成中找到在REST任务中发出异步调用的任何选项。任何帮助将不胜感激。
英文:
I have a requirement to make an async rest call from my APIGEE Integration even if the integration is called synchronously from my proxy. Is it even possible?
I am not able to find any option in the integration to make a async call in the rest task. Any help would be appreciated.
答案1
得分: 0
目前,我找到的最佳解决方案是将要异步运行的集成部分,即在这种情况下的 REST 调用,转移到新的集成,并从当前集成进行异步集成调用。这可以通过将执行策略更改为异步来实现。
英文:
For now, the best solution that I have found for this is to shift the part of the integration that you want to run asynchronously i.e. rest call in this case to a new Integration and make an asynchronous Integration callout from the current Integration. This can be done by changing the Execution startegy to async.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论