Discussion:
[rabbitmq-users] Custom Acknowledgement Messages from the RabbitMQ server?
Nitin Jamadagni
2014-10-24 18:38:39 UTC
Permalink
Hello,
I am new to RabbitMQ, started using the python wrapper for it recently.
1)Wondering how to send a message back from the RabbitMQ server back to the
client after processing the request on the queue,say a result of the
processing?Is there any space
for doing such a thing or do you recommend a normal HTTP reply back to
the client?
2)Can we make some custom Acknowledge messages?
Please excuse if anything silly in the question,relatively new to this
technology!

Regards
Nitin Jamadagni
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+***@googlegroups.com.
To post to this group, send an email to rabbitmq-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Michael Klishin
2014-10-24 18:40:45 UTC
Permalink
Post by Nitin Jamadagni
1)Wondering how to send a message back from the RabbitMQ server
back to the client after processing the request on the queue,say
a result of the processing?Is there any space
for doing such a thing or do you recommend a normal HTTP reply back
to the client?
See Tutorial 6:
http://www.rabbitmq.com/getstarted.html

RabbitMQ 3.4.0 even provides an efficient way of doing request/response ("RPC")
but the tutorials and clients demonstrate/use the traditional approach for now.
Post by Nitin Jamadagni
2)Can we make some custom Acknowledge messages?
What do you mean by "custom"? You can only use basic.ack to acknowledge.
--
MK

Staff Software Engineer, Pivotal/RabbitMQ
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+***@googlegroups.com.
To post to this group, send an email to rabbitmq-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Michael Klishin
2014-10-24 18:59:55 UTC
Permalink
+rabbitmq-usersĀ 
Btw, by "custom" i meant user defined ack message,may be a given
scenario where we have ack back with a confirmation code immediately
though the request will be processed later from the queue.
So, a custom "reply"? Then all replies are custom ;) Message metadata has the "type" property, maybe you want to set that to an appropriate value?
--
MK

Staff Software Engineer, Pivotal/RabbitMQ
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+***@googlegroups.com.
To post to this group, send an email to rabbitmq-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...