Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The jdbc component enables you to access databases through JDBC, where SQL queries and operations are sent in the message body. This component uses the standard JDBC API, unlike the SQL Component component, which uses spring-jdbc.

Maven users will need to add the following dependency to their pom.xml for this component:

Code Block

<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-jdbc</artifactId>
    <version>x.x.x</version>
    <!-- use the same version as your Camel core version -->
</dependency>
Warning

This component can only be used to define producer endpoints, which means that you cannot use the JDBC component in a from() statement.

...