Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Bug
-
3.11.1, 3.11.0
-
None
-
None
-
Unknown
-
Regression
Description
After updating from Camel 3.10.0 to Camel 3.11.0 or Camel 3.11.1 the dataSource option of a SQL Endpoint no longer overrides the DataSource set by a Component ComponentCustomizer (at least when using Spring Boot, no idea if it works with just Camel).
https://github.com/PascalSchumacher/CamelSpringBootEndpointDataSource contains a small example which demonstrates the issue. ExampleTest passes with Camel 3.10.0, but fails with Camel 3.11.0 and Camel 3.11.1.
I believe this was caused by CAMEL-16732 probably by the changes to SqlComponent#createEndpoint in https://github.com/apache/camel/commit/8d4714d4b9cca87c947b8dd3813ab5c556583db5#diff-192e08c8d708cf496f905153f919bdfc444992b4fe424ae5f9841bfabd838bf7L65
Attachments
Issue Links
- relates to
-
CAMEL-16864 camel-core - Mis configuring endpoints should report error if reference lookup is wrongly configured
- Resolved
-
CAMEL-20042 camel-sql, use primary spring data source by default
- Resolved