API管理器 - 调解介体 - Synapse遇到异常,未找到错误处理程序

时间:2017-02-04 00:20:49

标签: wso2 wso2esb wso2-am

我的api-manager序列中定义了简单的调用中介。但它失败了,错误 - Synapse遇到异常,找不到错误处理程序 - [消息丢失]

HTTPS-Sender I/O dispatcher-1 >> "[\r][\n]"{org.apache.synapse.transport.http.wire}
HTTPS-Sender I/O dispatcher-1 >> "[\n]" {org.apache.synapse.transport.http.wire}
HTTPS-Sender I/O dispatcher-1 >> "        {"Message":"Hello World ! All Ok.."}[\n]" {org.apache.synapse.transport.http.wire}
HTTPS-Sender I/O dispatcher-1 >> "    " {org.apache.synapse.transport.http.wire}
ERROR {org.apache.synapse.continuation.ContinuationStackManager} -  Resource : null not found {org.apache.synapse.continuation.ContinuationStackManager}
ERROR {org.apache.synapse.core.axis2.SynapseCallbackReceiver} -  Synapse encountered an exception, No error handlers found - [Message Dropped]
Resource : null not found {org.apache.synapse.core.axis2.SynapseCallbackReceiver}

我的顺序如下:

<?xml version="1.0" encoding="UTF-8"?>
<sequence name="call_mediator_test_in" trace="disable" xmlns="http://ws.apache.org/ns/synapse">
    <call>
        <endpoint>
            <http method="get" uri-template="https://localhost:8243/inq/v2.0/abcd/100"/>
        </endpoint>
    </call>
    <respond/>
</sequence>

请告知错误。如何添加错误处理程序?

1 个答案:

答案 0 :(得分:2)

在APIM 1.10.0中,这是a known issue

在APIM 2.0.0中,您应该在阻止模式下使用呼叫中介。

<call blocking="true">