[
https://issues.apache.org/jira/browse/CAMEL-21046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kartik updated CAMEL-21046:
---------------------------
Summary: camel-support - Camel component must support unknown properties by
a configuration (was: Camel component must support unknown properties by a
configuration)
> camel-support - Camel component must support unknown properties by a
> configuration
> ----------------------------------------------------------------------------------
>
> Key: CAMEL-21046
> URL: https://issues.apache.org/jira/browse/CAMEL-21046
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 3.22.2
> Reporter: Kartik
> Priority: Minor
>
> Currently, the camel component if it is non lenient will throw an exception
> when unknown properties are passed when creating an endpoint.
> Considering multi-tenant cloud environments, there can be cases with the same
> endpoints. For example, take a Kafka endpoint, 2 tenants can create a camel
> route having the same localhost broker with the same topic and group id which
> results in an error.
> To overcome this the component should expose certain APIs to filter & ignore
> unknown properties.
> I do see that in DefaultComponent#validateParameters function takes"
> optionPrefix" which ignores the properties starting with the provided prefix,
> This should be exposed to users.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)