【问题标题】:How to make proxy in API mule ESB如何在 API mule ESB 中制作代理
【发布时间】:2016-12-12 16:27:35
【问题描述】:

我是 mule esb 的新手。我想尝试通过在 mule 中设置代理来使 API 能够访问另一个系统。

这是一个将命中另一个系统的程序代码。

<until-successful synchronous="false"
                                failureExpression="#[header:INBOUND:http.status != 200]"
                                deadLetterQueue-ref="failedToCallback" maxRetries="${max.retries}"
                                secondsBetweenRetries="${second.between.retries}"
                                objectStore-ref="objectStore" doc:name="Until Successful">
                                <processor-chain doc:name="Processor Chain">
                            <http:outbound-endpoint exchange-pattern="request-response"
                                method="GET"
                                        address="http://#[flowVars['urlcallback']]?id=#[flowVars['id']]"
                                contentType="text/xml" doc:name="HTTP" />
                                </processor-chain>
                            </until-successful>

但是使用这段代码,由于连接超时,我无法点击 url,所以我需要使用代理。

有人知道我应该从哪里开始制作代理吗?

【问题讨论】:

    标签: proxy mule


    【解决方案1】:

    Mulesoft documentation 包含您尝试实现的 API 代理教程。

    MuleSoft 有非常全面的文档。浏览API ManagerdeploymentRAML 文档。这将满足您的需求。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-11-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多