if (m.isAnnotationPresent(Routing.class)) {
routing = m.getAnnotation(Routing.class);
} else {
log.debug("Routing not found on method " + m.getJavaMember().getName());
}
RouteType routeType = (routing == null) ? RouteType.BOTH : routing.value();
Route route = new RouteImpl(routeType).id(routeId);
boolean isResourced = m.isAnnotationPresent(Resource.class);
if (isResourced) {
Resource r = m.getAnnotation(Resource.class);
log.debug("Loading resource " + r.mappedName());