Skip to content

Commit

Permalink
Merge pull request #45 from augustl/issue-44
Browse files Browse the repository at this point in the history
Fixes related to issue 44
  • Loading branch information
Arsen A. Gutsal committed Nov 7, 2014
2 parents a9d8d98 + 71bce30 commit c8a2864
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RoutingGrailsPlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ class RoutingGrailsPlugin {

// otherwise we autostart camelContext here
def config = application.config.grails.routing
if (config.grails.routing.autoStartup ?: true) {

if (config.autoStartup != false) {
def camelContextId = config.camelContextId ?: 'camelContext'
application.mainContext.getBean(camelContextId).start()
}
Expand Down

0 comments on commit c8a2864

Please sign in to comment.