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

Spring Ampq type name and EasyNetQ

I need send message between C# Microservices with EasyNetQ and Java with Spring Amqp. The problem is the properties message , the Type from Spring Boot Amqp is in property __type__ headers container while in EasynetQ is expected from outher…
Strom
  • 129
  • 1
  • 2
  • 8
0
votes
1 answer

Topic based subscribe and publish with EasyNetQ

We have 2 .nwt windows services running and I am currently trying to implement a system where if System 1 is down due to any error, System 2 also has to be brought down. We are making use of RabbitMQ for the same. When SYstem 1 is down, it will…
Minu
  • 232
  • 4
  • 13
0
votes
1 answer

RabbitMQ - How to stop a Publisher Service when Subscriber service fails with some error

I have 2 windows services in C#. Service 1 publishes messages to the RabbitMQ queue. Service 2 subscribes the RabbitMQ queue. Service 2 also connects to a TCP server and sends the messages it has received from RabbitMQ to this server. My question…
Minu
  • 232
  • 4
  • 13
0
votes
1 answer

Dequeue item only if task is completed

I'm subscribing to a queue using easynetq. var logger = new RabbitMQLogger(); string cfg = ConfigurationManager.AppSettings["rabbitConfig"]; var bus = RabbitHutch.CreateBus(cfg, x => x.Register(_ => logger)); …
user1765862
  • 13,635
  • 28
  • 115
  • 220
0
votes
0 answers

RabbitMq Architectural decision for Distributed Desktop application

We are re-writing some part of our Retail ERP application which was written in .net 4.0 Windows Application with backend services connected via .Net remoting all the way. My question is a follow-up and updated question on what I find here(RabbitMq…
Apsar
  • 19
  • 1
  • 1
  • 5
0
votes
1 answer

Tasks which contains smaller tasks with ACK from Consumer

I am working on some POC project and trying to solve the following problem. I have a Publisher which is sending a messages to the Queue: bus.PublishAsync(new TestScenario()) .ContinueWith(task => { …
Tomasz Kowalczyk
  • 1,873
  • 2
  • 23
  • 33
0
votes
1 answer

Divide work between EasyNetQ subscribers

Given two subscribers, processing synchronously Message objects from RabbitMQ queue, one at a time for 3s, when publisher send 4 messages: Message { Text: 1 } Message { Text: 2 } Message { Text: 3 } Message { Text: 4 } Is it possible to divide work…
Maleowy
  • 37
  • 7
0
votes
0 answers

RabbitMQ dual consumers one master and other slave

I am currently trying to tackle a case where I need 2 windows services running on different servers one will be considered a master and will do all the processing whilst the other would only be checking if the master has fallen. This is necessary…
Enzero
  • 1,141
  • 2
  • 17
  • 36
0
votes
1 answer

How do I get the RabbitMQ dead letter header information out of a message in EasyNetQ?

This is a followup to a previous question I asked: How do I deserialize a dead lettered message when dead lettering changes the type? The problem I'm having now is that I can't see the extra header info that RabbitMQ adds when a message dead…
mrplainswalker
  • 701
  • 4
  • 8
  • 26
0
votes
2 answers

How do I deserialize a dead lettered message when dead lettering changes the type?

I'm trying to write a dead letter handler service that reads messages off of a dead letter queue and then does something with the message based on the type, contents, etc. In my C# application, I'm using EasyNetQ. I have a basic message type called…
mrplainswalker
  • 701
  • 4
  • 8
  • 26
0
votes
1 answer

EasyNetQ message publisher pattern

I am writing a wrapper around EasyNetQ to publish messages to RabbitMQ. There are large number of messages that needs to be published. Should I use using pattern to publish message using IBus or should I declare IBus type var as a class level static…
Nisha Kant
  • 25
  • 3
0
votes
1 answer

Connecting to an existing RabbitMQ Queue exclusively

I have a worker that subscribes to a pre-existing queue on rabbitmq. For redundancy purposes, we decided to add another worker that connects to the same queue. Is it possible to have a set-up where the first worker acquires an exclusive connection…
Jonny
  • 2,787
  • 10
  • 40
  • 62
0
votes
0 answers

EasyNETQ System.StackOverflowException with Ninject DI

I use Ninject version="3.2.2.0" and last version of EasyNetQ 0.63.5.454. I've created simple project. static class Program { static void Main() { var kernel = new StandardKernel(new NinjectSettings(){LoadExtensions = true}); …
0
votes
1 answer

RabbitMQ : Shovel to multiple servers from one queue based on messages routing key

My Scenario : We are using RabbitMQ for broadcasting messages to about 300 other computers in a network. We are using RabbitMQ on Windows Server, C#.Net Client (EasyNetQ) basic solution is to assign a routingkey for each destination…
0
votes
2 answers

EasyNetQ publish and consume

I am new to EasyNetQ and RabbitMQ.Unfortunately I am having problem with consuming messages and I am not sure if its because I am doing the Publish wrong or either my consuming is not correct. I can see by publishing, it does send to queue and…
hello world
  • 385
  • 5
  • 24