Make sure endpoint settings override default factory settings

Issue: SPR-16338
This commit is contained in:
Stephane Nicoll
2018-01-15 15:42:50 +01:00
parent 89b81b0080
commit 42dfa40151
2 changed files with 18 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2017 the original author or authors.
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -228,8 +228,8 @@ public abstract class AbstractJmsListenerContainerFactory<C extends AbstractMess
instance.setAutoStartup(this.autoStartup);
}
endpoint.setupListenerContainer(instance);
initializeContainer(instance);
endpoint.setupListenerContainer(instance);
return instance;
}