You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2023/03/06 10:14:00 UTC
[jira] [Updated] (CAMEL-19119) [Docs] Missing examples in Camel JDBC
[ https://issues.apache.org/jira/browse/CAMEL-19119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-19119:
--------------------------------
Issue Type: Task (was: Bug)
> [Docs] Missing examples in Camel JDBC
> -------------------------------------
>
> Key: CAMEL-19119
> URL: https://issues.apache.org/jira/browse/CAMEL-19119
> Project: Camel
> Issue Type: Task
> Components: camel-jdbc
> Affects Versions: 3.20.2
> Reporter: Lucia Drozdová
> Priority: Minor
>
> 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)