// set endpoint property inBody
setProperties(endpoint, parameters);
// configure endpoint properties and initialize state
endpoint.configureProperties(parameters);
return endpoint;
} catch (InvocationTargetException e) {
if (e.getCause() instanceof IllegalArgumentException) {
throw new CamelException("Invalid URI path prefix [" + remaining