if (annotation != null) {
LOG.info("Creating a consumer for: " + annotation);
subscribeMethod(method, bean, annotation.uri(), annotation.name());
}
Consume consume = method.getAnnotation(Consume.class);
if (consume != null) {
LOG.info("Creating a consumer for: " + consume);
subscribeMethod(method, bean, consume.uri(), consume.ref());
}
}