[
https://issues.apache.org/jira/browse/CAMEL-5666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13466221#comment-13466221
]
Claus Ibsen commented on CAMEL-5666:
------------------------------------
And btw dont stack code like errorHandler(xxx).from(xx).
That should be in separate code statements. As shown on all the Camel examples
and docs as you can see on the Camel site.
{code}
errorHandler(xxx);
from(yyy)
.to(zzz);
{code}
> 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