【发布时间】:2021-12-29 13:14:36
【问题描述】:
我有一个简单的代理配置,如下所示:
from("netty-http://0.0.0.0:8080/xyz")
.toD("netty-http:" + "https://abc/xyu")
.process(this::processResponse);
但是当 abc 服务返回 400 并带有可读错误时,camel 返回自己的异常:
org.apache.camel.component.netty.http.NettyHttpOperationFailedException: Netty HTTP operation failed invoking
我可以做些什么来简单地从生产者服务返回错误?
【问题讨论】:
标签: apache-camel quarkus