Caused by: org.apache.camel.NoSuchBeanException: No bean could be found in the registry for: dataSource of type: javax.sql.DataSource
at org.apache.camel.util.CamelContextHelper.mandatoryLookup(CamelContextHelper.java:159)
at org.apache.camel.util.EndpointHelper.resolveReferenceParameter(EndpointHelper.java:330)
at org.apache.camel.util.EndpointHelper.resolveReferenceParameter(EndpointHelper.java:312)
at org.apache.camel.impl.DefaultComponent.resolveAndRemoveReferenceParameter(DefaultComponent.java:383)
at org.apache.camel.impl.DefaultComponent.resolveAndRemoveReferenceParameter(DefaultComponent.java:362)
at org.apache.camel.component.sql.SqlComponent.createEndpoint(SqlComponent.java:61)
at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:112)
at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:649)
I think this issue is related to https://github.com/fabric8-quickstarts/spring-boot-camel-rest-sql/issues/136
Getting following error:
Caused by: org.apache.camel.NoSuchBeanException: No bean could be found in the registry for: dataSource of type: javax.sql.DataSource at org.apache.camel.util.CamelContextHelper.mandatoryLookup(CamelContextHelper.java:159) at org.apache.camel.util.EndpointHelper.resolveReferenceParameter(EndpointHelper.java:330) at org.apache.camel.util.EndpointHelper.resolveReferenceParameter(EndpointHelper.java:312) at org.apache.camel.impl.DefaultComponent.resolveAndRemoveReferenceParameter(DefaultComponent.java:383) at org.apache.camel.impl.DefaultComponent.resolveAndRemoveReferenceParameter(DefaultComponent.java:362) at org.apache.camel.component.sql.SqlComponent.createEndpoint(SqlComponent.java:61) at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:112) at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:649)