GroovyJMS provides set of Groovy-style APIs, enhanced JMS API with Groovy Categories, and a powerful JMSPool bean, that make it very easy to use JMS in Groovy application. It transparently handle connection and session lifecycle, and adds some thread-safe convenient methods to the JMS APIs.
Take a simple example:
And a complex one:
This module is in its early stage. The provided example are fully functional, but some relatively complex scenario may require directly JMS API usage
You may visit the v0.1 page or the latest v0.2 docs
Or check other information at: