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

EasyNetQ/RabbitMQ - Publishing a message based on topic

I have created a subscriber in EasyNetQ/RabbitMQ with a topic. I think I have atleast because I can see that there is a binding under a queue name. It looks like the following : The Queue name itself is a random GUID. But I don't think this…
MindingData
  • 11,924
  • 6
  • 49
  • 68
0
votes
0 answers

How to properly set up WebApi, EasyNetQ and Ninject?

This is what I have thus far. I'm stuck on the concept/where to implement the IBus injection/creation point (the publisher). I was trying to keep the publisher functionality all within the project and not create a separate service for it. bus =…
Will Lopez
  • 2,089
  • 3
  • 40
  • 64
0
votes
0 answers

Detecting consume failure with EasyNetQ

When I start consuming from a queue that is already locked by another exclusive consumer then no exception is thrown by the consume method, although I can see the error being logged. The ExclusiveConsumer keeps trying to start consuming every 10…
Alex Wiese
  • 8,142
  • 6
  • 42
  • 71
0
votes
1 answer

How can I use AutoSubscribe mechanism via queue name in EasynetQ?

This is my publisher. There are two consumers. MailConsumer and SmsConsumer. using(var bus = RabbitHutch.CreateBus("host=localhost").Advanced) { var queueName = "my.queue"; var queueName2 = "my.queue2"; var…
Oguz Karadenizli
  • 3,449
  • 6
  • 38
  • 73
0
votes
2 answers

Message Meta-Data in MOM

I'm beginning my exploration of NServiceBus, RabbitMQ, MassTransit and EasyNetQ. One detail I specifically want to understand is how to ensure a custom set of meta-data is always sent with every published message? For example, regardless of what a…
Brent Arias
  • 29,277
  • 40
  • 133
  • 234
0
votes
2 answers

Routing Dead-Lettered Messages

Is there a way in EasyNetQ to set the routing key [x-dead-letter-routing-key] argument when creating a Queue? (as far as I can see you can only set a DeadLetterExchange.) IQueue updateCacheQueue = advancedBus.QueueDeclare(name: "UpdateCache",…
Joel Weiss
  • 136
  • 8
0
votes
1 answer

Field not found: 'RabbitMQ.Client.ConnectionFactory.VirtualHost'

I'm trying to use RabbitMQ messaging using SignalR.RabbitMQ (https://github.com/mdevilliers/SignalR.RabbitMq) from a queue consumer in c# with the code below: RabbitMQ.Client.ConnectionFactory factory = new…
David Aleu
  • 3,922
  • 3
  • 27
  • 48
0
votes
0 answers

Delete a message once it's consumed?

Is it possible to delete a message once it has been consumed? Example below creates and consumes the message but does not delete the message. Watching the RabbitMQ web interface and the message flicks between Ready and Unacked. Producer (My…
wonea
  • 4,783
  • 17
  • 86
  • 139
0
votes
1 answer

Disconnecting in a publish subscribe situation with easynetq

Currently I'm building some software with Easynetq (a .net lib ontop of rabbitmq). This works great except for 1 thing. We have a publish subscribe setup. A server pushes messages to a client that can or cannot be connected. In a unwanted scenario,…
Patrick
  • 2,730
  • 4
  • 33
  • 55
0
votes
1 answer

Multiple queues using single IBus

I'm trying to implement priority messages using multiple queues (four in my case) with RabbitMQ and EasyNetQ. I understand that IBus instance should be kept alive for the whole application life cycle. Also, the only way to stop RabbitMQ from sending…
Marcin Waligora
  • 548
  • 4
  • 11
0
votes
1 answer

RabbitMQ on Vagrant: Can telnet to port 5672, but cannot connect to Rabbit

I have RabbitMQ running on a Vagrant box (using VirtualBox). I have assigned an IP on a public network. Now, from another machine, I wish to connect via AMQP, using EasyNetQ. When trying that, I get this error: ERROR: Failed to connect to Broker:…
driis
  • 161,458
  • 45
  • 265
  • 341
0
votes
1 answer

EasyNetQ rabbitMq update version Json error

I was using EasyNetQ v0.27.1.216 with Newtonsoft.Json v4.5.11 and RabbitMq.Client v3.2.1 I update, to solve an issue of connection, now i have EasyNetQ v0.33.1.276, Newtonsoft.Json v6.0.3 and RabbitMq.Client v3.3.2 Before everything was fine but…
Mart
  • 49
  • 9
0
votes
1 answer

RabbitMQ, EasyNetQ With NodeJS (amqplib) - Subscribing

I'd already asked this question regarding publishing from amqplib --> EasyNetQ, and got it working with help from the author of EasyNetQ. Now, I'm having trouble going the other way. It did briefly "work", but then i went back and cleaned-out all…
Michael
  • 4,010
  • 4
  • 28
  • 49
0
votes
1 answer

RabbitMQ, EasyNetQ With NodeJS?

I'm trying to understand what's reasonable for integrating these technologies. How would I go about integrating NodeJS (currently using amqplib, but that could be changed) across RabbitMQ to EasyNetQ? I have it sort of working, except EasyNetQ is…
Michael
  • 4,010
  • 4
  • 28
  • 49
0
votes
1 answer

EasyNetQ with Windows Service Exception

I have been running a simple Windows Service, with a EasyNetQ, but when i try to publish a message I have been receiving an Exception. Exception: Pubisher confirms timed out after 10 seconds waiting for ACK or NACK from sequence Here are my publish…
hackp0int
  • 4,052
  • 8
  • 59
  • 95
1 2 3
12
13