How can i handle this error ? On first exchange i get this error and the program loops over it.
How can i intercept this error ? onExectption(CannotGetJdbcConnectionException.class) not works. ------------------ error message ----------------------------------- [org.springframework.jdbc.CannotGetJdbcConnectionException - Could not get JDBC Connection; nested exception is org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host "192.168.201.172", user "paginfor", database "testdb", SSL off] org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host "192.168.201.172", user "paginfor", database "testdb", SSL off at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:80) at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:575) at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:617) at org.apache.camel.component.sql.SqlConsumer.poll(SqlConsumer.java:94) Caused by: org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host "122.333.33.11", user "xxxx", database "testdb", SSL off ----- kh -- View this message in context: http://camel.465427.n5.nabble.com/Error-loop-CannotGetJdbcConnectionException-from-route-tp5750911.html Sent from the Camel - Users mailing list archive at Nabble.com.