The proposal is to formalize a missing concept in the Camel API, namely the 
Endpoint configuration as a POJO that allows:
* instantiation from a URI
* serialization back to URI (URIs always generated the same way, order of 
parameters enforced, say alphabetically)
* support for complex validation via javax.validation and custom annotation
* default implementation backwards compatible with existing implementation 
(that would miss the validation feature, but not worse that what we have 
already in place, actually better because of the second bullet)

Partial patch already available (complete implementation and example for the 
first bullet above)
JIRA: https://issues.apache.org/jira/browse/CAMEL-4256

Thoughts?

Reply via email to