You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/10/28 09:01:05 UTC

[camel] branch master updated: Update pgevent-component.adoc

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 0424e22  Update pgevent-component.adoc
0424e22 is described below

commit 0424e22c6bec2b9e219df68d765897953c95129b
Author: PHillner <ph...@gmail.com>
AuthorDate: Wed Oct 28 10:40:43 2020 +0200

    Update pgevent-component.adoc
    
    Add a section for common problems, explaining a very undocumented issue when trying to use a DataSource to connect to a PostgreSQL database.
    More on the issue: https://stackoverflow.com/questions/64445026
---
 components/camel-pgevent/src/main/docs/pgevent-component.adoc | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/components/camel-pgevent/src/main/docs/pgevent-component.adoc b/components/camel-pgevent/src/main/docs/pgevent-component.adoc
index bc86c8a..15f01fc5 100644
--- a/components/camel-pgevent/src/main/docs/pgevent-component.adoc
+++ b/components/camel-pgevent/src/main/docs/pgevent-component.adoc
@@ -103,6 +103,13 @@ with the following path and query parameters:
 // endpoint options: END
 
 
+== Common problems
+
+=== Unable to connect to PostgreSQL database using DataSource
+Using the driver provided by PostgreSQL itself (`jdbc:postgresql:/...`) when using a DataSource to connect to a PostgreSQL database does not work.
+
+Please use the pgjdbc-ng driver (`jdbc:pgsql:/...`) instead.
+
 
 
 include::camel-spring-boot::page$pgevent-starter.adoc[]