Lucia Drozdová created CAMEL-19119:
--------------------------------------
Summary: [Docs] Missing examples in Camel JDBC
Key: CAMEL-19119
URL: https://issues.apache.org/jira/browse/CAMEL-19119
Project: Camel
Issue Type: Bug
Components: camel-jdbc
Affects Versions: 3.20.2
Reporter: Lucia Drozdová
There are several examples missing in jdbc component documentation:
[https://camel.apache.org/components/3.20.x/jdbc-component.html#_samples]
# First we register our datasource in the Camel registry as {{{}testdb{}}}:
# Then we configure a route that routes to the JDBC component, so the SQL will
be executed. Note how we refer to the {{testdb}} datasource that was bound in
the previous step:
# Or you can create a {{DataSource}} in Spring like this:
# We create an endpoint, add the SQL query to the body of the IN message, and
then send the exchange. The result of the query is returned in the OUT body:
--
This message was sent by Atlassian Jira
(v8.20.10#820010)