GitHub user igarashitm opened a pull request:
https://github.com/apache/camel/pull/388
CAMEL-8226 Deprecated feature dataSourceRef not working correctly
If you try to create more than one of endpoint from SqlComponent with
specifying dataSourceRef option, it doesn't remove dataSourceRef option from
URL on 2nd attempt as dataSource object is already populated on 1st attempt,
causes org.apache.camel.ResolveEndpointFailedException
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/igarashitm/camel CAMEL-8226
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/388.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #388
----
commit 2ccb7b87a650df1e18498df715148db2f2029631
Author: Tomohisa Igarashi <[email protected]>
Date: 2015-02-10T07:45:36Z
CAMEL-8226 Deprecated feature dataSourceRef not working correctly
If you try to create more than one of endpoint from SqlComponent with
specifying dataSourceRef option, it doesn't remove dataSourceRef option from
URL on 2nd attempt as dataSource object is already populated on 1st attempt,
causes org.apache.camel.ResolveEndpointFailedException
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---