dataSource was added as a replacement for dataSourceRef in Camel 2.12. This change caused that dataSourceRef doesn't work on a producer/reference. Thought the bug is in Camel, SwitchYard should rather use dataSource because dataSourceRef is planned to be removed in future.
You can simply reproduce the problem in the camel-sql-binding quickstart. Just add <sql:dataSourceRef>$ {datasourceName}
</sql:dataSourceRef> to the bindings on references.
Then you will end up with:
Caught exception of type org.apache.camel.ResolveEndpointFailedException with message: Failed to resolve endpoint: sql:
|