log.debug("Using destinationName: {} on listenerContainer: ", destinationName, listenerContainer);
} else if (destination != null) {
listenerContainer.setDestination(destination);
log.debug("Using destination: {} on listenerContainer: ", destinationName, listenerContainer);
} else {
DestinationResolver resolver = getDestinationResolver();
if (resolver != null) {
listenerContainer.setDestinationResolver(resolver);
} else {
throw new IllegalArgumentException("Neither destination, destinationName or destinationResolver are specified on this endpoint!");
}