We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4d389df + 6314d21 commit 5e3afa0Copy full SHA for 5e3afa0
src/main/groovy/grails/plugin/jms/JmsGrailsPlugin.groovy
@@ -123,6 +123,10 @@ JMS integration for Grails.
123
124
125
def startListenerContainer(listenerConfig, applicationContext) {
126
- applicationContext.getBean(listenerConfig.listenerContainerBeanName).start()
+ def listenerContainer = applicationContext.getBean(listenerConfig.listenerContainerBeanName)
127
+
128
+ if (listenerContainer.isAutoStartup()) {
129
+ listenerContainer.start()
130
+ }
131
}
132
0 commit comments