[
https://issues.apache.org/jira/browse/CAMEL-21353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-21353.
---------------------------------
Resolution: Fixed
> camel-core - Add possibility to set some condition for Camel to wait during
> startup before continuing
> -----------------------------------------------------------------------------------------------------
>
> Key: CAMEL-21353
> URL: https://issues.apache.org/jira/browse/CAMEL-21353
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 4.9.0
>
>
> We should have some kind of API for end users to plugin custom code, and also
> have out of the box easy configurations to set some condition before Camel
> continue booting. This should happen very early.
> For example to wait for a ENV variable to exist or match a value. Or to wait
> for a file to exist, etc.
> And there should be a timeout value and fail if not meet.
> This should be configurable something easily in camel.main.xxx, maybe such as
> camel.main.boot-condition.environment-variable=FOO_BAR
> camel.main.boot-condition-timeout=10000
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)