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
24
votes
4 answers

How to do error handling with EasyNetQ / RabbitMQ

I'm using RabbitMQ in C# with the EasyNetQ library. I'm using a pub/sub pattern here. I still have a few issues that I hope anyone can help me with: When there's an error while consuming a message, it's automatically moved to an error queue. How…
Leon Cullens
  • 12,276
  • 10
  • 51
  • 85
12
votes
2 answers

EasyNetQ fails to publish to RabbitMQ - PersistentChannel timed out

I am trying to connect to RabbitMQ with EasyNetQ. RabbitMQ is on remote VM. _rabbitBus = RabbitHutch.CreateBus( string.Format("host={0};virtualhost={1}", _hostSettings.Host, _hostSettings.VHost), x => x.Register(l =>…
wojciech_rak
  • 2,276
  • 2
  • 21
  • 30
10
votes
1 answer

Custom Error Queue Name when using EasyNetQ for RabbitMQ?

Rather than having my unhandled exceptions go into EasyNetQ_Default_Error_Queue I wondered if there is a way that I can explicitly state the name of an Error Queue that should be used for a given application, so errors don't ALL end up in this one…
marcusstarnes
  • 6,393
  • 14
  • 65
  • 112
10
votes
1 answer

Can I use RabbitMQ to distribute large files to multiple machines?

I work for a digital signage company where we send lots of animations/videos to various machines on the network. We have used ftp in the past to send files from a server app (which is our content management system) to machines that play the…
JD.
  • 15,171
  • 21
  • 86
  • 159
9
votes
3 answers

How to post messages to RabbitMQ from SQL Server?

I am creating an application for testing performance between different RabbitMQ clients. One of them should be SQL Server. I found out that there exists RabbitMQ component for SQL Server Integration Services (SSIS). But seems like destination…
Andrei Karcheuski
  • 3,116
  • 3
  • 38
  • 39
9
votes
4 answers

Message persistence in RabbitMQ

I am writing a small app where i am using RabbitMQ to send/Receive a message. Everything is working ok, but i am struggling with message persistence. I want message to remain in a Queue even in server restarts. I understand the concept of…
Jay
  • 1,037
  • 5
  • 23
  • 41
9
votes
4 answers

HelloWorld example for sending an object over RabbitMQ via EasyNetQ between two different applications

Hi I am attempting to send a simple object like through RabbitMQ via EasyNetQ. I'm having issues deserializing that object on the subscription side. Anyone able to show me a sample of how this works. Keep in mind the object being sent is defined…
ymerej
  • 727
  • 1
  • 8
  • 21
8
votes
2 answers

Using EasyNetQ with RabbitMQ to publish and receive messages

I'm new to messaging, and currently investigating using RabbitMQ as part of our system architecture to provide messaging between different services. I've got a basic RabbitMQ example working and it can transmit a basic text message over the bus. …
Mun
  • 14,098
  • 11
  • 59
  • 83
8
votes
1 answer

RabbitMQ vs Web API + SignalR

I'm currently using RabbitMQ via EasyNetQ to communicate between a Windows service and numerous clients. The communications are a mix of requests from the clients and push notifications to all of the clients. I'm very happy with the performance,…
scottctr
  • 683
  • 2
  • 6
  • 19
7
votes
2 answers

Re-queue message on exception

I'm looking for a solid way of re-queuing messages that couldn't be handled properly - at this time. I've been looking at http://dotnetcodr.com/2014/06/16/rabbitmq-in-net-c-basic-error-handling-in-receiver/ and it seems that it's supported to…
Snæbjørn
  • 10,322
  • 14
  • 65
  • 124
7
votes
1 answer

Topshelf service with dependency on RabbitMQ not starting on reboot

I have a windows services which uses EasyNetQ and RabbitMQ. The service starts normally from the service control manager. However I have seen occasionally on a reboot, the service does not start with the error in the services event log : A timeout…
JD.
  • 15,171
  • 21
  • 86
  • 159
7
votes
1 answer

EasyNetQ. Advanced API - Publish does not produce response on RabbitServer

Looking at EasyNetQ as replacement for our current library for MQ communication. For Testing im trying to simply publish a number of messages to an exchange, using a custom naming strategy. My method for publishing is in t he small test method…
ThBlitz
  • 493
  • 4
  • 17
6
votes
1 answer

How to declare custom error exchange for each consumer in EasyNetQ?

I have four consumer when error occured message publishing to default EasyNetQ_Default_Error_Queue is it possible to each queue consumer write own error exchange For example; Queue Name : A ErrorExchange :A_ErrorExchange Queue Name : B …
sdemir
  • 63
  • 3
6
votes
2 answers

Is there an easy way to subscribe to the default error queue in EasyNetQ?

In my test application I can see messages that were processed with an exception being automatically inserted into the default EasyNetQ_Default_Error_Queue, which is great. I can then successfully dump or requeue these messages using the Hosepipe,…
Mike Chamberlain
  • 39,692
  • 27
  • 110
  • 158
5
votes
2 answers

How to fetch an existing Exchange or Queue in EasyNetQ?

I am using EasyNetQ and I am wondering how to fetch an existing IExchange and IQueue without subscribing beforehand? In the IAdvanceBus I can only see: ExchangeDeclareAsync QueueDeclareAsync But I am not sure really whether those will override an…
Natalie Perret
  • 8,013
  • 12
  • 66
  • 129
1
2 3
12 13