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 2023/05/23 08:54:00 UTC

[jira] [Created] (CAMEL-19380) camel-core - CamelContext should use plugin for RuntimeConfiguration

Claus Ibsen created CAMEL-19380:
-----------------------------------

             Summary: camel-core - CamelContext should use plugin for RuntimeConfiguration
                 Key: CAMEL-19380
                 URL: https://issues.apache.org/jira/browse/CAMEL-19380
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Claus Ibsen


It would be good to move RuntimeConfiguration as a plugin to CamelContext so its API is loosly coupled as today CamelContext extends RuntimeConfiguration which is not good.

This would mean there are some API changes that some end users may need to adjust.

from:
camelContext.setAutoStartup(true);

to:
camelContext.getRuntimeConfiguration().setAutoStartup(true);





--
This message was sent by Atlassian Jira
(v8.20.10#820010)