[rabbitmq-discuss] RPC with Erlang client

Jones, Richard rljones at lastminute.com
Mon Apr 12 12:03:42 BST 2010


Greetings Rabbiteers,

I've noticed that the RPC server that comes with the Erlang client doesn't acknowledge messages. This has the effect of replaying all previous RPC requests whenever the system is restarted. I've looked at the equivalent code in the Java client, and it does a 'basic.ack' after the result of the call has been sent to the reply queue.

So, with this in mind I humbly submit a patch (attached).

I'm a newbie in all three of: AMQP, RabbitMQ and Erlang, so apologies if I've missed something obvious or I'm barking up the wrong tree.

cheers,
Richard Lewis Jones
-- 
lastminute.com labs

-------------- next part --------------
A non-text attachment was scrubbed...
Name: amqp_rpc_server.erl.patch
Type: text/x-patch
Size: 835 bytes
Desc: amqp_rpc_server.erl.patch
Url : http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20100412/73e0729c/attachment.bin 


More information about the rabbitmq-discuss mailing list