Manually register AMQP/RabbitMQ message listener to resources.groovy?
i seem to keep running into trouble when using the RabbitMQ plugin, so i want to fallback to handling it using Spring RabbitMQ. I am looking for a way on how to register message listeners to my grails application and how to configure that via the resources.groovy. Any pointers or examples on how to achieve that?
Here is a good blog entry on using spring and rabbitmq. You will not want to use the cloud tag.
Here is the source repo for spring rabbitmq
If you add a grails-app/conf/spring/resources.xml file you can use xml based spring beans instead of groovy. May be easier for you.
Also take a look at