gpc / jms

JMS integration for Grails.
http://grails.org/plugin/jms
16 stars 28 forks source link

From 2.0 branch is missing pluginLoadOrder fix #29

Closed aulea closed 7 years ago

aulea commented 7 years ago

In main branch was fix for plugin load order "added dataSource to loadAfter" https://github.com/gpc/jms/commit/dee0630d0073d9611da3d0a0efbf8b8b33565ccd

Need to describe plugin's load order, so that it will be loaded after everything related to dataSource is ready. Fix in \src\main\groovy\grails\plugin\jmsJmsGrailsPlugin.groovy def loadAfter = ['services', 'controllers','dataSource','hibernate', 'hibernate4'] And with Grails 3.2 there is also hibernate5

Grails documentation about plugin load order http://docs.grails.org/latest/guide/plugins.html#understandingPluginLoadOrder