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
2
votes
0 answers

EasyNetQ -- AdvancedBus reconnection

When using AdvancedBus for EasyNetQ, if the connection is broken up for any reason, how can I reconnect? Does it try to reconnect by itself? I know IBus reconnects itself, but AdvancedBus does not seem to do that. For example, if I manually force…
Victor
  • 21
  • 1
2
votes
1 answer

Unable to add reference of EasyNetQ on Unity Project

Could anyone direct me to the the correct version of EasyNetQ which will work with Unity 5.x (.Net 3.5) project? I have a unity 5.x project which is targeted to the .Net framework 3.5 (Unity 3.5 .net subset base class libraries). I need to use the…
Rezoan
  • 1,745
  • 22
  • 51
2
votes
1 answer

EasyNetQ - how can I include the original queue name in the EasyNetQ_Default_Error_Queue message?

When using the Publisher/Subscriber pattern and an exception is throwed during a subscriber handling, EasyNetQ, by default, put a message in the EasyNetQ_Default_Error_Queue. The problem is I only have the original exchange name in the error…
Juliano
  • 2,422
  • 21
  • 23
2
votes
0 answers

EasyNetQ Consume Binary Message

I use the following code to publish a raw message to the queue: using (var bus = RabbitHutch.CreateBus("host=myserver;virtualHost=myhost;username=xxx;password=yyy").Advanced) { var queue = bus.QueueDeclare("MyQueue"); var exchange =…
notlkk
  • 1,231
  • 2
  • 23
  • 40
2
votes
1 answer

Why is EasyNetQ failing silently when it's been ILMerged?

I'm building a plugin component for Dynamics CRM 2015. Because we're deploying to CRM Online, the plugin has to be a single signed DLL - we can't deploy additional DLLs alongside it and we can't put anything in the GAC, so I'm using ilmerge.exe to…
Dylan Beattie
  • 53,688
  • 35
  • 128
  • 197
2
votes
1 answer

Simple Injector Ioc DBContext with EasynetQ message life cycle

I have an issue with the EF's DBContext's life cycle using Simple Injector , I have a worker service that is running continuously but I want the DBContext to be initialized during the messages' lifespan and not for the life time of the worker…
2
votes
1 answer

easynetQ delayed respond/request resulting in timeout

I've run into a problem with using the request/respond pattern of EasyNetQ while using it on our server (Windows Server 2008). Not able to reproduce it locally at the moment. The setup is we have 2 windows services (running as console applications…
Nediarph
  • 101
  • 2
  • 6
2
votes
1 answer

Change JSON.NET Serialization Settings

I am trying to send complex objects using EasyNetQ but I keep running into this exception because my object contains a list of child objects that reference back to the parent object: Self referencing loop detected for property 'Parent' with type…
gwin003
  • 7,432
  • 5
  • 38
  • 59
2
votes
1 answer

Is there a way to specify a different Error Queue when using EasyNetQ.Hosepipe?

I recently posted the following question... Custom Error Queue Name when using EasyNetQ for RabbitMQ? ... and was provided with a solution on how to use different, application specific Error Queue names when using EasyNetQ, rather than having all…
marcusstarnes
  • 6,393
  • 14
  • 65
  • 112
2
votes
2 answers

MVC - WCF - RabbitMQ - Domain Event via Message Queue to Consumer speedup or alternatives?

Domain Driven Design Passing Events to separate Bounded Contexts A user action in MVC should generate an Event which is passed to a remote (same LAN) Event handler. What I've tested: MVC: fire and forget service call (asynchronous) -> (IIS…
lko
  • 8,161
  • 9
  • 45
  • 62
2
votes
1 answer

EasyNetQ - EasyNetQ.Topology.Queue

Could someone please explain the use of the parameter isExclusive of the constructor for the type EasyNetQ.Topology.Queue. Note: This type needs to be instantiated for deleting a queue using the Advanced API.
Babu James
  • 2,740
  • 4
  • 33
  • 50
2
votes
2 answers

Is RabbitMQ Authentification secure without SSL?

We are using RabbitMQ, we'll expose the server over the internet. We'll have multiple clients from multiple computers accessing the server. Our first instinct would be to enable SSL but this seems like a lot of pain from the documentation,…
EtienneT
  • 5,045
  • 6
  • 36
  • 39
2
votes
1 answer

Can you set up recursive mocks in foq?

I'd let to mock an IBus with Foq. One of the methods on the IBus is OpenPublishChannel, which returns an IPublishChannel. IPublishChannel in turn has a Bus property that returns the parent IBus. My current code is below, but obviously it doesn't…
mavnn
  • 9,101
  • 4
  • 34
  • 52
2
votes
2 answers

EasyNetQ model shutdown

I implement a simple client to RabbitMQ, using EasyNetQ. After a connection, I get a notification "Model shutdown for queue". Here is my code: var _bus = RabbitHutch.CreateBus(String.Format("host={0}", hostName)).Advanced; var _exchange =…
Brain89
  • 460
  • 1
  • 4
  • 17
1
vote
1 answer

EasyNetQ consuming behaviour and modular monolith

I'm new with EasyNetQ. Thinking about adopting this library into my project. I have one question about consuming messages. Wiki states: "As messages are received from queues subscribed to via EasyNetQ, they are placed on an in-memory queue. A single…
dariol
  • 1,959
  • 17
  • 26