Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.14.0, 3.15.0
-
None
-
Unknown
Description
I'm investigating an error on camel-quarkus (https://github.com/apache/camel-quarkus/issues/3436) and found that it is happening on camel itself. It affects probably more components, so I set "camel-core" as a component.
Here is a description:
- aws2-sqs allows to use client from contex, which is autowired into the component
- if deadletter is used (via RouteBuilder), endpoint is created immediately (even if context is not started yet) - see BuilderSupport l434 (code)
- Creation of component fails, because there is no client which could be autowired (see code)
I created junit reproducer in my fork - https://github.com/JiriOndrusek/camel/commit/f8d294afae9c6919b19cb6ca6f7cec50570d6208
Attachments
Issue Links
- is related to
-
CAMEL-17455 camel-core - RouteBuilder deprecate endpoint methods as they resolve endpoint to eager
- Resolved
- links to