[
https://issues.apache.org/jira/browse/CAMEL-5666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13466147#comment-13466147
]
liugang commented on CAMEL-5666:
--------------------------------
嗯。了解。(测试一下你应该能看懂中文,呵呵)
OK. understand, but in this case, we may lost the compatibility. I have no
chioce but re-compile, right?
However it also resolve me another problem: *Since the return type is a
"RouteBuilder" at previous version, then user can write some code like
"errorHandler().from(...)..." which looks like the bug
[CAMEL-5032|https://issues.apache.org/jira/browse/CAMEL-5032]*
BTW, The JMX statistics for some component, for example "setBody", "setHeader"
, doesn't exist. could you have a check? or I have to create an issue for that?
谢谢!
> The ErrorHandler compiled by old Version Camel is unavailable on 2.10.1
> -----------------------------------------------------------------------
>
> Key: CAMEL-5666
> URL: https://issues.apache.org/jira/browse/CAMEL-5666
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.10.1
> Environment: Camel-2.10.1
> Reporter: liugang
>
> the signature of "errorHandler()" seems changed from "*public RouteBuilder
> errorHandler(ErrorHandlerBuilder errorHandlerBuilder)*" to "*public void
> errorHandler(ErrorHandlerBuilder errorHandlerBuilder)*"
> So if I have a route compiled on and old version camel (for example, 2.9.3)
> which includes an ErrorHandler component, then it doesn't work again on 2.10.1
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira