JMS integration for the grails-routing plugin
Dependency:
compile "org.grails.plugins:routing-jms:1.2.0"
Summary
Provides JMS integration for the grails-routing plugin
Installation
grails install-plugin routing-jms
Description
Please note that all development (including the examples) have recently been migrated to GitHub. Please update your branches!
Grails-Routing-JMS 1.2.0 is the current stable version.See GitHub for known issues.Sources: https://github.com/padcom/grails-routing-jmsContinuous integration: http://dev.aplaline.com/hudson/job/grails-routing-jms/
1.2.0 breaking changesSince 1.2.0 the actual broker configuration has been moved from RoutingJmsConfig.groovy to Config.groovy and the task to install custom configuration file has been removed
Since version 1.2.0 this plugin does not use ConfigurationHolder or any other static holders. Therefore it is safe to use it in an environment where on one Tomcat there is more than Grails application running
Synopsis
This plugin provides support for JMS via ActiveMQ for the routing subsystem based on Apache Camel.Usage
To use this plugin just install it and it will setup all the required dependencies right out of the box.By default a local instance of ActiveMQ is used for this purpose but changing it is really simple. Just change the URL in your Config.groovy filegrails.plugin.routing.jms.brokerURL = "vm://LocalBroker"
grails.plugin.routing.jms.brokerURL = "tcp://localhost:61616"
from('activemq:input.queue').to('stream:out')
sendMessage("activemq:input.queue", "Message")
sendMessage("activemq:topic:example.topic", "Message")