"Stole" some
code from Burt Beckwith that enables some simple JMS integration into a Grails application.
In this case, the controller puts a message on a JMS queue - a listener then reads that message and writes it to the console.
The listener is just a POGO and is in /grails-app/src/groovy. I'm still learning Groovy/Grails and am curious what other objects/packages you have access to from this directory? Obviously it is being compiled in with the application (as I can see the console output), but can I access domain classes/objects here? Grails services? I'd love to make a similar listener that just updates domain-classes/objects, but sure that would work.
Also trying to avoid (for now) the Grails JMS-plugin, but if I have to use it I can. The goal is just a simple Grails app that listens to a JMS topic, and updates a DB (and therefore web page) with stats.