[
https://issues.apache.org/jira/browse/CAMEL-16862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pascal Schumacher closed CAMEL-16862.
-------------------------------------
> Camel-Sql: Endpoint DataSource option no longer overrides DataSource set by
> ComponentCustomerizer
> -------------------------------------------------------------------------------------------------
>
> Key: CAMEL-16862
> URL: https://issues.apache.org/jira/browse/CAMEL-16862
> Project: Camel
> Issue Type: Bug
> Components: camel-sql
> Affects Versions: 3.11.1, 3.11.0
> Reporter: Pascal Schumacher
> Priority: Major
>
> 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
--
This message was sent by Atlassian Jira
(v8.3.4#803005)