Questions tagged [nservicebus]

NServiceBus is a highly pluggable, reliable, open source Enterprise Service Bus built on .NET.

The most popular Service Bus for .NET

Simple and easy publish/subscribe communication over any transport, on premise and in the cloud. Get enterprise-grade scalability and reliability for your workflows and integrations without any messy XML configuration - just pure-code bliss. Runs on MSMQ, RabbitMQ, Azure, and more – optimally configured out of the box so you can focus on your business logic.

Resources

Installation

NServiceBus can most easily be installed through its NuGet package.

Install-Package NServiceBus
2232 questions
106
votes
3 answers

What is a service bus and when do I need one?

I have heard talk about the NServiceBus, but I haven't really understood what it is. They claim to be "The most popular open-source service bus for .net". What is a service bus, and when do I need one?
stiank81
  • 25,418
  • 43
  • 131
  • 202
106
votes
4 answers

nServiceBus vs Mass Transit vs Rhino Service Bus vs other?

Just doing some quick spikes into possibly using a messaging system to process files that are in a nicely decoupled work flow system. What are the pro's and cons that people have found of using each of the above frameworks? What are the advantages…
mwjackson
  • 5,403
  • 10
  • 53
  • 58
104
votes
5 answers

NServiceBus vs MassTransit

I'm struggling with a pros and cons list regarding NServiceBus and MassTransit. Now I know there is already a thread in here, but it doesn't really answer my questions. Here is what I've read so far: NServiceBus, yes it's licensed and it doesn't…
Jack Andersen
  • 1,059
  • 2
  • 8
  • 8
81
votes
2 answers

NServiceBus and Rabbit MQ or Kafka

I am trying to learn messaging system. I have found that RabbitMq and NServiceBus are using together in few places. My questions are If I am using the RabbitMQ then why do i need NServiceBus? and vice versa What NServiceBus can do but RabbitMQ or…
MJK
  • 3,434
  • 3
  • 32
  • 55
48
votes
1 answer

NServiceBus vs Windows ServiceBus

Would someone be able to shed some light on the differences between the newly release Windows ServiceBus (on premise, not Azure) and NServiceBus? Looking for a detailed answer what the windows SB may be missing as I'm familiar what NSErviceBus can…
TimJohnson
  • 923
  • 1
  • 9
  • 22
38
votes
3 answers

Difference between Bus.Publish and Bus.Send in NServiceBus?

What are the essential differences between publishing a message using Bus.Publish and sending a message using Bus.Send? I am looking to understand how they differ and also when I should choose to use one over the other.
Sean Kearon
  • 10,987
  • 13
  • 77
  • 93
36
votes
1 answer

Business rule validators and command handler in CQRS

I am new to CQRS and I am tying to make sense of business rule validation within the write side (domain). I know that client side validation should be done in terms of valid date (required field, string length, valid email, etc) and business…
kind_robot
  • 2,383
  • 4
  • 31
  • 45
35
votes
6 answers

Where to raise persistence-dependent domain events - service, repository, or UI?

My ASP.NET MVC3 / NHibernate application has a requirement to fire off and handle a variety of events related to my domain objects. For example, an Order object might have events like OrderStatusChanged or NoteCreatedForOrder. In most cases these…
31
votes
2 answers

Specific advantages of NServiceBus over plain RabbitMQ

Are there any advantages of using NServiceBus over simply using the .net driver for RabbitMQ (assuming we can replace MSMQ with AMQP). Does NSB provide any additional functionality or abstractions that are not available directly in AMQP.
xrcsblue
  • 530
  • 1
  • 4
  • 11
31
votes
3 answers

NServiceBus license?

Update: The most current licensing info can be found here: http://particular.net/licensing So, I am reading the license restriction for NServiceBus Community Edition. It says: Production use is limited to a single server with no more than 4 cores.…
Vaccano
  • 78,325
  • 149
  • 468
  • 850
27
votes
2 answers

Enterprise Service Bus, .NET Service Bus, NServiceBus and the wheels on the bus

Enterprise Service Bus (ESB), .NET Service Bus (Windows Azure AppFabric Service Bus), NServiceBus, RhinoServiceBus, MassTransit and so on. I'm trying to understand what each of these technologies have in common or not in common. I attended Juval…
Chris Marisic
  • 32,487
  • 24
  • 164
  • 258
20
votes
1 answer

What is a servicebus?

I've read about nservicebus countless times on the net, but still don't get what a service bus is. All I think is it is a way for very disparate systems to talk to each other? In which case, I don't see why it is any better than WCF? I've seen the…
GurdeepS
  • 65,107
  • 109
  • 251
  • 387
18
votes
1 answer

Starting multiple projects when debugging in Visual Studio 2010

In Visual Studio 2010, I have a web application and a console application (actually a service using NServiceBus, but it runs locally as a console application) that I want to both startup when I hit Debug. Right now I have the Web Application set…
Jeff Treuting
  • 13,910
  • 8
  • 36
  • 47
15
votes
3 answers

Practical examples of how correlation id is used in messaging?

Can anyone give me examples of how in production a correlation id can be used? I have read it is used in request/response type messages but I don't understand where I would use it? One example (which maybe wrong) I can think off is in a publish…
JD.
  • 15,171
  • 21
  • 86
  • 159
14
votes
2 answers

Not creating queues automatically in NServiceBus

I'm running NServiceBus 3.0.0 rc2 but when I start the application (as local admin) without pre-creating the MSMQ's it errors with : The queue does not exist or you do not have sufficient permissions to perform the operation. This was not…
undefined
  • 33,537
  • 22
  • 129
  • 198
1
2 3
99 100