You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2024/07/11 12:02:00 UTC
[jira] [Created] (CAMEL-20970) camel-main - Allow to configure MainListener via application.properties
Claus Ibsen created CAMEL-20970:
-----------------------------------
Summary: camel-main - Allow to configure MainListener via application.properties
Key: CAMEL-20970
URL: https://issues.apache.org/jira/browse/CAMEL-20970
Project: Camel
Issue Type: Improvement
Components: camel-main
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Fix For: 4.8.0
The listener is kicked in early so you have callbacks during bootstrap. It would be good to be able to configure a classname via camel.main.MainListener=com.foo.MyClass so it can be created early on startup, and you can do this without registering the listener via java code.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)