Hi all,

It seems that if a database is unreachable, and if the camelcontext
contains a sql consumer, the camel context won't start, even though marked
as Created in karaf console.

I don't mind the karaf "created" marked, but I would love to know if you
have any advice to startup sql route when the DB may be down, for example
if after a maintenance, the karaf is faster than the DB to restart.

A workaround found is to use a timer before, and the sql query in a
pollEnrich just after, but it's quite dirty.

You can find the whole stack here :
https://pastebin.com/XvYpCjZK

Jonathan Schoreels

Reply via email to