padcom / grails-routing

Apache License 2.0
30 stars 31 forks source link

Getting the CamelContext #5

Closed geemang2000 closed 12 years ago

geemang2000 commented 12 years ago

Does this plugin put the CamelContext somewhere that I could access it from a Controller or Service?

Basically I don't want my route to start unless the User has done a setup phase. So I'm assuming I'd need to get the CamelContext then access my routes to activate it.

padcom commented 12 years ago

You can always inject the "camelContext" bean by name. That should give you what you need.

Matthias

2011/12/14 geemang2000 < reply@reply.github.com

Does this plugin put the CamelContext somewhere that I could access it from a Controller or Service?

Basically I don't want my route to start unless the User has done a setup phase. So I'm assuming I'd need to get the CamelContext then access my routes to activate it.


Reply to this email directly or view it on GitHub: https://github.com/padcom/grails-routing/issues/5

padcom commented 12 years ago

Closing because there's no response to the issue