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 -> Distributed Work Queue with confirms work has completed

Does RabbitMQ (called from a c# client) have the ability to distribute work on a queue and allow the publisher to receive confirmations that that work processed successfully? It seems like it should be possible without adding an extra queue, but…
gmn
  • 4,199
  • 4
  • 24
  • 46
1
vote
2 answers

How to synchronously consume raw byte messages from RabbitMQ using EasyNetQ?

Is there any way to synchronously consume raw byte messages from RabbitMQ using EasyNetQ? I need to guarantee in-order processing and acking of messages coming from a system that does not publish in EasyNetQ format. I know the consumer runs on a…
Ralphie
  • 135
  • 2
  • 7
1
vote
1 answer

EasyNetQ - Consuming message from IAdvanceBus by non generic message

Yes we can use auto subscriber functionality and normal subscribe method with this subscription id but this solution is bit ugly in RMQ queues and exchanges. It was difficult to follow and analyze the messages. I use the advance bus and created my…
altyne
  • 159
  • 3
  • 14
1
vote
1 answer

EasyNetQ - Custom error queue name based on the original queue

I'd like to give error queues names in EasyNetQ based on the name of the queue that originated the error. For example, all faulted messages from QueueA would go to QueueA.Error; QueueB messages would be redirected to QueueB.Error, and so…
peflorencio
  • 2,284
  • 2
  • 32
  • 40
1
vote
1 answer

EasyNetQ - Delayed messages with topics

Is there a way of publishing delayed messages with topics with EasyNetQ? I was able to send direct delayed messages using the FuturePublish method, but it doesn't allow me to specify a topic. Links: Scheduling Events with Future Publish RabbitMQ…
peflorencio
  • 2,284
  • 2
  • 32
  • 40
1
vote
2 answers

EasyNetQ.ManagementClient for to get msg rate per queue

I'm using EasyNetQ.ManagementClient nuget package for getting some stats on the rabbit. In the Web Management you can see the msg rates per queue But I can't get the same rates just for queues in code when using EasyNetQ.ManagementClient, is it…
Margo
  • 672
  • 3
  • 13
  • 30
1
vote
1 answer

Switching Databases using DI/StructureMap

I have an application that listens for messages on a queue and processes said messages. Up until now I have had a separate instance of the application installed for each of our customers, each with their own database connection strings in the config…
1
vote
2 answers

Polymorphic Request-Response in EasyNetQ

I was wondering whether I could do polymorphic request-response in EasyNetQ, in a way similar to polymorphic publish-subscribe Here is an example that uses Mike Hadlow's example with Cats and Dogs (check the link above) but with Animal being a class…
1
vote
2 answers

Enqueue acknowledgements with EasyNetQ

I want to receive async acknowledgements that a message has, in fact, been placed in a queue. I've searched quite a bit, and tried various ways of using EasyNetQ's PublishAsync for confirmations, but can't seem to find the Bus connection…
BitMask777
  • 2,543
  • 26
  • 36
1
vote
1 answer

Is it possible to change the default exchange in easynetq

I'm having trouble at the moment with running multiple environments simultaneously with easynetq When I publish a message on my dev environment the message is also picked up in my staging and acceptance environments. The way around this is to create…
Neil
  • 5,179
  • 8
  • 48
  • 87
1
vote
1 answer

EasyNetQ - Message order of delivery

From RabbitMQ - Message order of delivery Section 4.7 of the AMQP 0-9-1 core specification explains the conditions under which ordering is guaranteed: messages published in one channel, passing through one exchange and one queue and one …
Jason Kealey
  • 7,988
  • 11
  • 42
  • 55
1
vote
1 answer

Using Ninject as IoC for EasyNetQ

i'm using EasyNetQ library in my project and I would like to use Ninject as IoC Container for EasyNetQ components. I created a custom logger in order to log anythong from EasyNetQ: public class LogNothingLogger : IEasyNetQLogger { ... } And…
Ganto
  • 123
  • 1
  • 6
1
vote
1 answer

EastNetQ Json Serialization Exception

I am fairly new to messaging and I have decided for a prototype that I am building to use EasyNetQ (RabbitMQ .Net). I have created the Publisher and Subscriber and all seems to work well. I have the Publisher in my Web Services application catching…
Nanz
  • 179
  • 2
  • 14
1
vote
1 answer

How do I know when all the subscribers are complete?

We have a bunch of requests that we plan to publish to the queue. There will be several different subscriber types, each in their own round robin pool. For example Request1 is pushed onto the queue LoggingSubscriber1 and LoggingSubscriber2 both…
CaffGeek
  • 21,856
  • 17
  • 100
  • 184
1
vote
1 answer

EasyNetQ not reading messages from queue published with RabbitMQ Java Client API

We are using Coldfusion utilising the java RabbitMQ Client API to publish messages to a Queue, and then using EasyNetQ to read the messages from the queue using C#. The message is a string. The java Client is publishing messages as an unseralized…
Indy
  • 283
  • 1
  • 2
  • 9