cloudamqp / amqp-client.rb

Modern AMQP 0-9-1 Ruby client
https://cloudamqp.github.io/amqp-client.rb/
MIT License
19 stars 6 forks source link

RPC #30

Open carlhoerberg opened 1 month ago

carlhoerberg commented 1 month ago

High level client support for RPC using direct reply queues.

spuun commented 3 weeks ago

Maybe we should have some optional argument for message/queue properties for both Client#rpc_call, Client#rpc_server and RPCClient#call? Or is that too low level?

carlhoerberg commented 3 weeks ago

Wondering if rpc_call should be skipped, and recommend use of RPCClient instead. It's important to close the RPCClient after use though, otherwise channel leak.

spuun commented 3 weeks ago

Wondering if rpc_call should be skipped, and recommend use of RPCClient instead. It's important to close the RPCClient after use though, otherwise channel leak.

I don't think it's a problem to have both.