API manager-Call Mediator - Synapse 遇到异常,未找到错误处理程序

API manager-Call Mediator - Synapse encountered an exception, No error handlers found

我在 api-manager 序列中定义了简单的呼叫中介。但它因错误而失败 - Synapse 遇到异常,未找到错误处理程序 - [Message Dropped]

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>

有什么不对请指教。如何添加错误处理程序?

在 APIM 1.10.0 中,这是 a known issue

在 APIM 2.0.0 中,您应该在阻塞模式下使用调用中介。

<call blocking="true">