Kartik created CAMEL-21046:
------------------------------
Summary: 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
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)