protected boolean isValidMethod(Class clazz, Method method) {
return Modifier.isPublic(method.getModifiers());
}
public static ParameterMappingStrategy createParameterMappingStrategy(CamelContext camelContext) {
Registry registry = camelContext.getRegistry();
ParameterMappingStrategy answer = registry.lookup(ParameterMappingStrategy.class.getName(),
ParameterMappingStrategy.class);
if (answer == null) {
answer = new DefaultParameterMappingStrategy();
}
return answer;