grails-plugins/grails-rabbitmq — pull request #5 by conchas (2011-10-28 12:09:09+00:00)
Title: Specify message converters in the grails service

I needed to access the MessageProperties (correlationId) and I found out that the MessageListenerAdapter use a default strategy that uses a SimpleMessageConverter which dont pass the MessageProperties to my service.

With this patch its possible to specify the message converter class in the grails service, or just make it null and handle a Message object, that contains the MessageProperties, instead of a String or a byte [] that holds only the body of the message.

I'd like to know what you guys think about this solution. Is there a better way to solve my problem?