[ 
https://issues.apache.org/jira/browse/CAMEL-8226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14313767#comment-14313767
 ] 

ASF GitHub Bot commented on CAMEL-8226:
---------------------------------------

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

----


> Deprecated feature dataSourceRef not working correctly
> ------------------------------------------------------
>
>                 Key: CAMEL-8226
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8226
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-sql
>    Affects Versions: 2.14.1
>            Reporter: Benjamin Graf
>
> If several sql endpoints are defined using dataSourceRef attribute the latest 
> one will not get dataSourceRef removed in createEndpoint causing validation 
> exception.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to