// then if the injection fails we will get a valid error otherwise
// lets raise a warning afterwards that we should update the metadata on the endpoint class
try {
IntrospectionSupport.setProperty(endpoint, name, value);
} catch (Exception e) {
throw new RuntimeCamelException(
"Failed to set property '" + name + "' on " + endpoint + " to value " + value + " due "
+ e.getMessage(), e);
}
if (config == null) {
warnMissingUriParamOnProperty(name);