[rabbitmq-discuss] questions about RpcClient

Matthias Radestock matthias at rabbitmq.com
Sun Nov 20 15:43:41 GMT 2011


On 18/11/11 13:42, john doe wrote:
> Is this class threadsafe? I guess not because channels are not threadsafe?

Correct.

> Why is the routing key a final attribute? Why is it not a parameter of
> primitiveCall(...)?

The idea is that you create RpcClients to talk to specific rpc servers. 
The latter are typically identified by a combination of exchange and 
routing key.

Matthias.


More information about the rabbitmq-discuss mailing list