Made MessageHandlerMethodFactory bean temporarily prototype
This commit is contained in:
@@ -65,6 +65,7 @@ import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.Import;
|
||||
import org.springframework.context.annotation.Role;
|
||||
import org.springframework.context.annotation.Scope;
|
||||
import org.springframework.core.annotation.AnnotationUtils;
|
||||
import org.springframework.core.env.Environment;
|
||||
import org.springframework.core.env.StandardEnvironment;
|
||||
@@ -134,6 +135,7 @@ public class BinderFactoryAutoConfiguration {
|
||||
|
||||
|
||||
@Bean(IntegrationContextUtils.MESSAGE_HANDLER_FACTORY_BEAN_NAME)
|
||||
@Scope("prototype")
|
||||
public static MessageHandlerMethodFactory messageHandlerMethodFactory(
|
||||
CompositeMessageConverterFactory compositeMessageConverterFactory,
|
||||
@Nullable Validator validator, ConfigurableListableBeanFactory clbf) {
|
||||
|
||||
Reference in New Issue
Block a user