Hi Peter,<br><br>Many Thanks for your reply. my handleMessage() looks like the following one.<br><br>void handleMessage(Map message) {<br> try {<br> User employee = message.msg<br> println("Employee Id:"+employee.getId()+"Employee Name::"+employee.getName())<br>
}<br> catch (Exception e) {<br> e.printStackTrace()<br> }<br><br>The Object is serializable and then I place it in a Map object and then I produced it into the queue. But, the messages are not yet getting fetched. Please help me to get rid of this please. Thanks in advance.<br>
<br><br><div class="gmail_quote">On Fri, Jun 24, 2011 at 2:55 PM, Peter Ledbrook <span dir="ltr"><<a href="mailto:peter@cacoethes.co.uk">peter@cacoethes.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">> Our problem is that, We created two Grails applications and one application trying to post messages and it is posting successfully. And another application has to fetch it and needs to process it. But, The messages are not getting fetched and processed. Dont know whats happening there. And if we are using java objects it is working fine(both producer and consumer). But the Groovy objects are not getting fetched. We need some urgent solution to this problem. We are using RabbitMQ Grails plugin version 0.3.<br>
<br>
</div>What does your listener service look like? In particular, are you<br>
specifying a type in the handeMessage() method? Are your Groovy<br>
objects serializable?<br>
<br>
Don't forget you can also increase the logging level to see what's<br>
happening. I recommend monitoring the "org.grails.rabbitmq" and<br>
"org.springframework.amqp" packages.<br>
<br>
Hope that helps,<br>
<br>
Peter<br>
<font color="#888888"><br>
--<br>
Peter Ledbrook<br>
Grails Advocate<br>
SpringSource - A Division of VMware<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Thanks and Regards<br>Abinesh <br><br><img src="http://services.nexodyne.com/email/icon/WhzhZAJt62kT/J5Gq0u8%3D/R01haWw%3D/0/image.png"><br><br>