Questions tagged [easynetq]

EasyNetQ is a simple to use, opinionated, .NET API for RabbitMQ.

[EasyNetQ] (easynetq.com) is the leading client API for RabbitMQ on .NET, with over 100,000 downloads on NuGet.org. It is an open source project originally sponsored by 15below the travel industry experts.

QuickStart can be found here

Documentation can be found here

183 questions
1
vote
1 answer

RabbitMQ, EasyNetQ Queue Name

My Queue name is "TaskQueue" but when i run code, create new queue which name is "System_String:mscorlib_TaskQueue". My Subscriber code below. What is my fault? var bus =…
Dreamcatcher
  • 798
  • 13
  • 31
1
vote
1 answer

Failing to connect RabbitMQ through a EasyNetQ, getting access refused for user guest

Getting a strange error that doesn't make sense to me. RabbitMQ is refusing to allow access from a .Net application using EasyNetQ on a particular machine, when it works fine on another machine. The client app clearly resolves DNS, permissions are…
Daniel Corbett
  • 255
  • 2
  • 10
1
vote
1 answer

Topic Based Publishing with EasyNetQ

I am trying use topic based routing through easynetQ. In my setup i have 3 queues("A.B", "A.C","B.C") and exchange "ex". All three queues are connected to "ex" with routing keys "A.B","A.C","B.C". Below is my code. var bus =…
VKR
  • 655
  • 1
  • 8
  • 14
1
vote
3 answers

EasyNetQ not calling subscriber

I have an ASP.NET MVC action that verifies that a connection string properly works to connect to a server using RabbitMQ. How I do this is by simply creating a queue, subscribing to it and then right away publish a message to it. I expect the…
AxiomaticNexus
  • 6,190
  • 3
  • 41
  • 61
0
votes
0 answers

EasynetQ autosubscribe throwing error: *System.ArgumentNullException: 'Value cannot be null. Arg_ParamName_Name'*

I'm trying to autosubscribe, it is throwing error: System.ArgumentNullException: 'Value cannot be null. Arg_ParamName_Name' here is my consumer code. public class MyConsumer: IConsumeAsync { public MyConsumer() { } …
0
votes
2 answers

EasyNetQ - prefetchcount parameter ignored

I'm having a following issue - I need to have my operations queued to avoid them running in parallel. Therefore, I added RabbitMQ queue which is fed by API method taking requests from multiple clients. The issue is, that despite I set Prefetchcount…
Kal800
  • 31
  • 6
0
votes
0 answers

EasynetQ AutoSubscriber setup for comsumers that need services injected

I'm trying to setup Auto Aubsciber within EasyNetQ/RabbitMQ using .Net7 This is what I have in my start up class: var bus = RabbitHutch.CreateBus(ConnectionString); builder.Services.AddSingleton(bus); var subscriber = new AutoSubscriber(bus,…
Sun
  • 4,458
  • 14
  • 66
  • 108
0
votes
0 answers

Set up only synchronous blocking calls in IBus.PubSub.SubscribeAsync()?

The problem is that I need to handle each message sequentially so that one message should block the next message. No message should be handled asynchronously and no message should be handled at the same time as another one. But sometimes (like 0,8%…
Ivan Silkin
  • 381
  • 1
  • 7
  • 15
0
votes
0 answers

Experiencing delivery acknowledgement timeout after RabbitMQ upgrade

We updated RabbitMQ from 3.8.8 to 3.9.21 last week, and we are seeing issues with this error for existing applications: Basic ack failed because channel was closed with message '"Already closed: The AMQP operation was interrupted: AMQP close-reason,…
Mikkel LP
  • 71
  • 6
0
votes
0 answers

How retrieve single message from queue EasyNetQ?

I am trying to implement the following solution: How to programmatically resend messages that have faulted with EasyNetQ? . One of the goals of this solution is to retrieve a single message from a given queue with the EasyNetQ library and without…
Rok
  • 451
  • 3
  • 21
0
votes
0 answers

How to ensure RabbitMQ message is not duplicated when handling concurrent messages in multiple pods?

I have a .NET worker service that processes jobs using RabbitMQ messages. I use the EasyNetQ NuGet package for message handling. There are multiple such worker services distributed among a number of Kubernetes pods. Once it receives a RabbitMQ…
user3757605
  • 442
  • 1
  • 9
  • 20
0
votes
1 answer

EasyNetQ TaskCanceledException for Request/Response

I'm trying to implement a simple .NET 6 microservice with RabbitMQ using EasyNetQ. I have 2 completely different projects in 2 completely different solutions and when I try to use EasyNetQ's Request/Response I am able to send the request, my…
0
votes
1 answer

RabbitMQ queue name define

I started working on Microservices. So I have made two Restful APIs. Organisations API ( GET, PUT, POST, DELETE ) Customers API ( GET, PUT, POST, DELETE ) These two are separate APIs and hosted on different ports on my local IIS. Now I want to…
Ghazni
  • 826
  • 8
  • 16
0
votes
0 answers

RabbitMq Server is giving me the message "missed heartbeats from client"

The RabbitMQ Server is giving me the message: Missed heartbeats from client. I know this message occour when the cliente stop sending the heartbeat to server, then RabbitMq server close the connection. The problem is that I'm using RabbitMq in…
Ivan Muniz
  • 19
  • 4
0
votes
1 answer

Grouping tasks within parallel execution to prevent messages with same groupingID being executed concurrently

I have a consumer service retrieving messages from a RabbitMQ queue using EasyNetQ subscriber. Each message takes tens of seconds to process, and I need to run them in parallel to ensure I can keep up with the producer. However, each message has a…
notbono
  • 63
  • 1
  • 5