"Subscriber: %s's Method: %s is annotated with batching strategy: %s but does define a batch size.",
subscriber.getClass(), method.toGenericString(),
subscribeAnnotation.batchingStrategy()));
}
case Age:
if (subscribeAnnotation.batchAge() <= 0) {
errors.put(method, String.format(
"Subscriber: %s's Method: %s is annotated with batching strategy: %s but does define a batch age.",
subscriber.getClass(), method.toGenericString(),
subscribeAnnotation.batchingStrategy()));
}