question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RPC naming conventions with default exchange

See original GitHub issue

Hello, 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 IPublishExchangeDeclareStrategywith 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:closed
  • Created 6 years ago
  • Comments:14 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
xpiciocommented, Nov 19, 2018

hello, yes should be useful 👍

0reactions
micdennycommented, Jan 18, 2019

this has been released v3.3.8

Read more comments on GitHub >

github_iconTop Results From Across the Web

What naming convention should I use for a JSON RPC ...
The naming convention in the specification is camel case. Naming conventions might differ in subtle ways for different languages (camel case vs.
Read more >
Style Guide | Protocol Buffers Documentation
Using this naming convention for field names gives you accessors like those shown ... The field accessor will then return the default value,...
Read more >
API naming conventions for data actions
I am building a gRPC service that is responsible for creating and deleting network events data. The API should get as an input...
Read more >
Using RPC with Custom Method Naming Conventions
I am trying to implement an existing RPC service with gorilla/rpc/v2. I want to be able to accept method names like `service_method` to...
Read more >
Exchange RPC Servername Internal
By default three Outlook Providers are used to configure settings individually for Exchange RPC protocol or internal clients (EXCH), Outlook ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found