zhfeng opened a new issue, #4723:
URL: https://github.com/apache/camel-quarkus/issues/4723

   ```
   2023-03-30 11:32:18,113 WARN  [io.agr.pool] (Camel (camel-1) thread #1 - 
timer://interval-polling) Datasource 'camel-ds': JDBC resources leaked: 0 
ResultSet(s) and 1 Statement(s)
   2023-03-30 11:32:18,116 ERROR [org.apa.cam.pro.err.DefaultErrorHandler] 
(Camel (camel-1) thread #1 - timer://interval-polling) Failed delivery for 
(MessageId: 4C4B23931637794-0000000000000000 on ExchangeId: 
4C4B23931637794-0000000000000000). Exhausted after delivery attempt: 1 caught: 
org.h2.jdbc.JdbcSQLSyntaxErrorException: Table "CAMELSGENERATED" not found 
(this database is empty); SQL statement:
   select * from camelsGenerated order by id desc [42104-214]
   ```
   
   It looks like there is no data in the h2 database. I think  we could use 
[quarkus-flyway](https://quarkus.io/guides/flyway) to setup the database at the 
application startup time.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to