Details
Description
Right now all the camel endpoints/URI's are string based. As a developer, I need to construct them manually and have to be aware of the changes brought in with each new release. I would be more confident in working with URIs if I could get some basic type checking as well as some helper methods to quickly construct the URIs. For example a set of setter methods for the properties and a single getter method for the endpoint.
I have been constructing my own utility classes, to achieve this. for ex. have a look at apache-camel-kafka for working with Kafka endpoints. And the way I use this builder is usage-of-endpointbuilder It would be really helpful to have this feature shipped with the individual camel-components. This is a crude example but highlights the use case for the feature.