This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch CAMEL-27447-jbang-debezium-jdbc-drivers in repository https://gitbox.apache.org/repos/asf/camel.git
commit e4c2c15ab5ca34f2467fd049e6b62176af883bbc Author: Claus Ibsen <[email protected]> AuthorDate: Mon Nov 23 12:27:34 2026 +0100 CAMEL-27447: upgrade guide - camel run and camel export add the JDBC driver of debezium-mysql and debezium-db2 Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Claus Ibsen <[email protected]> --- .../modules/ROOT/pages/camel-4x-upgrade-guide-4_24.adoc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_24.adoc b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_24.adoc index ab7ffaa77332..76afffc2ad48 100644 --- a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_24.adoc +++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_24.adoc @@ -2472,6 +2472,16 @@ with another element type fails. SEARCH fails on a `List` body. REMOVE now fails when the body is not text (a `String`, bytes or a stream) or a `Collection` of `String` IDs. Before, a `Map` or a number body removed the ID made of its `toString()`, which usually removed nothing. +=== camel-jbang - camel run and camel export add the JDBC driver of debezium-mysql and debezium-db2 + +The MySQL JDBC driver (`com.mysql:mysql-connector-j`, GPL) and the Db2 JDBC driver (`com.ibm.db2:jcc`, IBM +International Program License Agreement) are not dependencies of `camel-debezium-mysql` and `camel-debezium-db2`, so a +route with `debezium-mysql` or `debezium-db2` failed on `camel run` with a `ClassNotFoundException` unless the driver +was added with `--dep`. `camel run` now downloads the driver in the version Camel manages, and `camel export` adds it, +with that version, to the exported project (Camel Main, Spring Boot and Quarkus). A driver you add yourself, with +`--dep`, `camel.jbang.dependencies` or in the project's POM, is used instead. Remove the driver from the exported +project if its license does not suit you. + === camel-jbang - camel run uses MariaDB Connector/J 4 Camel is upgraded to MariaDB Connector/J 4.0 (`org.mariadb.jdbc:mariadb-java-client`), which is the version
