RPC naming conventions with default exchange
See original GitHub issueHello, after the change on RPC naming conventions (#590) is not possible any more use the default exchange.
I simply tried to configure my conventions as following:
RpcRequestExchangeNamingConvention = (type) => "easy_net_q_rpc"; RpcResponseExchangeNamingConvention = (type) => "";
but this configuration throw an error on IPublishExchangeDeclareStrategy.DeclareExchange
:
The AMQP operation was interrupted: AMQP close-reason, initiated by Peer, code=403, text="ACCESS_REFUSED - operation not permitted on the default exchange", classId=40, methodId=10, cause=
At the moment i put a patch on my IPublishExchangeDeclareStrategy
with this simple, and ugly 😄 , code:
if (string.IsNullOrWhiteSpace(exchangeName)) { exchange = Exchange.GetDefault(); }
but i think should be better add this behaviour on the RabbitAdvancedBus
class.
Issue Analytics
- State:
- Created 6 years ago
- Comments:14 (13 by maintainers)
Top GitHub Comments
hello, yes should be useful 👍
this has been released v3.3.8