我正在尝试将 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 的方法。
如有任何帮助,我们将不胜感激。非常感谢。
已删除,请参阅camel 2 -> 3.x 升级文档 https://camel.apache.org/manual/camel-3-migration-guide.html