Hi

Yeah well spotted.

Do you mind creating a JIRA and send a PR to fix this for main branch then
we can backport to LTS branches.


On Thu, Feb 20, 2025 at 5:45 PM Jonathan Simard <jsim...@cogiscan.com>
wrote:

> Hello,
>
> I think there is a bug with DefaultRoute when using onException since
> version 4.8.
>
> Exception route processors get never initialized which make the route fail
> to started later on.
>
> I think the problem is there:
>
> https://github.com/apache/camel/blame/fa02c9e4879fac119a7f2b4f1b4ff46f646c48eb/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultRoute.java#L701
> introduce by commit:
>
> https://github.com/apache/camel/commit/26a9aa91a2bbb741c948ca8c943a0989da2986fd
>
> I should be "p" instead of "processor". "processor" have already been
> added at line 692.
>
>
> Jonathan Simard
> The contents of this email and any attachments are confidential. They are
> intended for the named recipient(s) only. If you have received this email
> by mistake, please notify the sender immediately and do not disclose the
> contents to anyone or make copies thereof. | Le contenu de ce courriel et
> de toute pièce jointe est confidentiel. Ils sont destinés uniquement au(x)
> destinataire(s) nommé(s). Si vous avez reçu ce courriel par erreur,
> veuillez en informer immédiatement l'expéditeur et ne pas en divulguer le
> contenu à quiconque, ni en faire des copies.
>


-- 
Claus Ibsen
-----------------
@davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to