diff --git a/spring-messaging/src/main/java/org/springframework/messaging/simp/annotation/support/SimpAnnotationMethodMessageHandler.java b/spring-messaging/src/main/java/org/springframework/messaging/simp/annotation/support/SimpAnnotationMethodMessageHandler.java index 84b28e25d5..6b886aa517 100644 --- a/spring-messaging/src/main/java/org/springframework/messaging/simp/annotation/support/SimpAnnotationMethodMessageHandler.java +++ b/spring-messaging/src/main/java/org/springframework/messaging/simp/annotation/support/SimpAnnotationMethodMessageHandler.java @@ -306,7 +306,7 @@ public class SimpAnnotationMethodMessageHandler extends AbstractMethodMessageHan protected List initArgumentResolvers() { ConfigurableBeanFactory beanFactory = (getApplicationContext() instanceof ConfigurableApplicationContext ? - ((ConfigurableApplicationContext) getApplicationContext()).getBeanFactory() : null); + ((ConfigurableApplicationContext) getApplicationContext()).getBeanFactory() : null); List resolvers = new ArrayList(); @@ -411,6 +411,7 @@ public class SimpAnnotationMethodMessageHandler extends AbstractMethodMessageHan /** * Resolve placeholder values in the given array of destinations. * @return a new array with updated destinations + * @since 4.2 */ protected String[] resolveEmbeddedValuesInDestinations(String[] destinations) { if (this.valueResolver == null) {