essobedo opened a new pull request #7142:
URL: https://github.com/apache/camel/pull/7142


   Fix for https://issues.apache.org/jira/browse/CAMEL-17754
   
   ## Motivation
   
   We could potentially have shared/nested JARs with a common set of route 
configurations that have pre-conditions so they will only be included if the 
precondition is true.
   
   ## Modifications:
   
   * Add a new parameter called `precondition` allowing to provide a predicate 
in Simple language to evaluate in order to know if a given route configuration 
should be excluded or not.
   * Add a new interface `PreconditionContainer` to be able to identify the 
classes in the model that support precondition.
   * Move the logic allowing to evaluate the precondition into the utility 
class `PreconditionHelper`
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to