Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.2.0
-
None
-
Unknown
Description
This issue comes across camel-quarkus issue #1200 . The following router
from("webhook:telegram:bots") .log("${body}");
which is added before the camel context is started. So the doStart() in the TelegramEndpoint is deferred and that causes the WebHookEndpoint invokes the registerWebhook() throws NPE.
It could be considered to move the codes to the doInit() which seems safer as this can also happens outside quarkus etc