在camel 3.x中的CamelContext中找不到方法setHandleFault(java.lang.Boolean)

问题描述 投票:0回答:1

我正在尝试将 camel 从版本 2.22.2 升级到 3.14.10 并出现以下错误:

Code: getContext().setHandleFault(Boolean.TRUE);
 
Error:
cannot find symbol
[ERROR]   symbol:   method setHandleFault(java.lang.Boolean)
[ERROR]   location: interface org.apache.camel.CamelContext 

注意:这里的 getContext() 是 RouteBuilder 的方法。

如有任何帮助,我们将不胜感激。非常感谢。

java apache-camel spring-camel
1个回答
0
投票

已删除,请参阅camel 2 -> 3.x 升级文档 https://camel.apache.org/manual/camel-3-migration-guide.html

© www.soinside.com 2019 - 2024. All rights reserved.