MessageAdapter messageAdapter = inboundResource.getMessageAdapter();
List<Class<?>> activationSpecClasses = classFinder.findAnnotatedClasses(Activation.class);
for (Class<?> asClass : activationSpecClasses) {
Activation activation = asClass.getAnnotation(Activation.class);
for (Class messageListenerClass : activation.messageListeners()) {
ActivationSpec activationSpec = getActivationSpec(messageAdapter, messageListenerClass);
if (activationSpec.getActivationSpecClass() == null) {
activationSpec.setActivationSpecClass(asClass.getName());
}