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
0
votes
1 answer

RabbitMQ Queue Expires While in Use

I have created RabbitMQ queues with x-expires policies using EasyNetQ (ISubscriptionConfiguration.WithExpires). I am experiencing situations where queues that have consumers expire and get deleted, unexpectedly ending my subscription to the…
Ryan K.
  • 67
  • 1
  • 10
0
votes
2 answers

Multiple vhost connection inside same project (Subscribe / Publish)

Our requirement is like below :- Exchange 1 is a topic exchange and queue 1 is bound to it. It is on VHOST 1. Application is subscribed to the queue 1. It processes the message of queue 1. After processing of queue 1 message, we want to publish…
user2266837
  • 587
  • 2
  • 5
  • 12
0
votes
0 answers

Prevent collisions when working with RabbitMq from two or more instances of the same app

Good time, Stack Overflow community. I have some questions about software architecture i'm working on and i will appreciate for help with them. The components of the app are following: Model project (net core class library). Here i define model…
Sergey
  • 11
  • 4
0
votes
1 answer

How to solve CS0246 The type or namespace name 'TypeNameSerializer' could not be found (are you missing a using directive or an assembly reference?

I have a .net framework class library project which is absolutely working fine with the .net framework projects, Now I need to refer it in .net core application also. so I am trying to create a new .net standard project and copied all the .cs files…
Vivek Nuna
  • 25,472
  • 25
  • 109
  • 197
0
votes
1 answer

Clean EasyNetQ RPC queue

I have a question, I have implemented simple RPC (Request/Response) with EasyNetQ, and it works but I wonder after I respond I am leaving behind not so pretty queue for example easynetq.response.b01688d1-35c8-4b66-b127-57cd6a155961 This RPC will…
Wojciech Szabowicz
  • 3,646
  • 5
  • 43
  • 87
0
votes
2 answers

System.TimeoutException: 'The requested operation on PersistentChannel has timed out with EasyNetQ

I'm starting at RabbitMq and I'm having trouble starting my API. This error occurred: System.TimeoutException: 'The requested operation on PersistentChannel has timed out'. I am using EasyNetQ. RabbitMq is running in a Docker container that is…
0
votes
0 answers

EasyNetQ : Can we use same connection to subscribe and publish internal messages?

Just need an opinion. Is it a good practice to use same rabbit connection to subscribe the message and send commands internally as well. Scenario is : We have a subscriber application that has handlers. But some processes are long running to make…
user2266837
  • 587
  • 2
  • 5
  • 12
0
votes
1 answer

RabbitMQ Temporary Queue dies periodically

I am using RabbitMQ to communicate long running process status changes to Web Server. The Application Server will publish events to a queue for and Web Server will consume those events. The queues are temporary(x-expires: 300000, auto-delete: true)…
kapd
  • 639
  • 1
  • 7
  • 20
0
votes
1 answer

EasyNetQ handle manual ack

I'm running a service (multiple instances) to consume messages in RabbitMQ using easynetQ. I want to check if the message is already being received to the instance 1 and if it cannot process in instance 1, instance 1 should should consume the…
Aruna
  • 1,962
  • 4
  • 25
  • 50
0
votes
0 answers

RabbitMQ consumer as Windows Worker

Trying to make a containerised windows service using docker to consume messages from rabbitmq queues. I am also using EasyNetQ client to connect with RabbitMQ. However it is failing with Persistent Channel timed out exception The operation…
KJSR
  • 1,679
  • 6
  • 28
  • 51
0
votes
1 answer

C# Many onMessage actions in EasyNetQ

I have a question. I have a simple method that creates subscription to RabbitMQ bus and read messages from it and then fires proper onMessage Action handler and it looks like: this.bus =…
Wojciech Szabowicz
  • 3,646
  • 5
  • 43
  • 87
0
votes
1 answer

Connect to RabbitMQ via URL

I'm trying to connect to the rabbitmq which is hidden behind nginx proxy. It's declared as: location ^~ /rabbitmq/ { proxy_pass http://127.0.0.1:5672/; } The problem is that as I found AMPQ only specifies host but it doesn't know…
Alex Zhukovskiy
  • 9,565
  • 11
  • 75
  • 151
0
votes
1 answer

Do I avoid using Async methods if I want to preserve message order with EasyNetQ?

I have seen this in the documentation of EasynetQ" EasyNetQ implements a single consumer thread per IBus instance, so if you use the standard non-async subscribe method your message handler will fire synchronously in the same order that messages are…
0
votes
1 answer

SocketException: Connection refused using EasyNetQ ManagementClient

I have RabbitMQ with management console installed on my machine. Web interface is working on http://localhost:15672 When I try to access Rabbit via code, I'm getting an exception: var mcGuest = new ManagementClient("http://localhost", "guest",…
Mugen
  • 8,301
  • 10
  • 62
  • 140
0
votes
1 answer

Nightmare with rabbitmq.client versions

I have a problem with the rabbitmq.client version when using easynetq but I do not know what EXACTLY is causing it! My solution contains a project for a WindowsService (exe file) and several library projects, all built against .NET 4.6.2. In my…
ThommyB
  • 1,456
  • 16
  • 34