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

What are advantages of using NServiceBus + RabbitMQ against pure RabbitMQ?

What are advantages of using NServiceBus + RabbitMQ against pure RabbitMQ? I guess it provides additional infrastracture. But what else?
VoimiX
  • 1,180
  • 3
  • 16
  • 31
14
votes
1 answer

NServiceBus with Unity 2.0?

Anyone using NServiceBus 2.0 successfully with Unity 2.0? I've tried to compile sources of NServiceBus.ObjectBuilder.Unity.dll against Unity 2.0 assemblies but got several compile-time errors because of changed/deleted signatures of many object…
Dmitry Schetnikovich
  • 1,752
  • 17
  • 26
13
votes
1 answer

Using NServiceBus in an Amazon EC2 hosted application

We're starting a new project that has some messaging and queueing requirements that are pretty basic, but in the future there may be some additional requirements for things such as sagas to process messages that might arrive out of order and need to…
jacderida
  • 565
  • 1
  • 4
  • 14
13
votes
4 answers

Pros/Cons of using BizTalk instead of NServiceBus or MassTransit

I am curious if it even makes consider BizTalk for the implementation of a pub/sub messaging architecture (basically what you can do with NServiceBus or MassTransit is all I really need). My manager tends to want to stick with frameworks provided…
skb
  • 30,624
  • 33
  • 94
  • 146
13
votes
5 answers

nServiceBus, Rhino Service Bus, MassTransit - Videos, Demos, Learning Resources

Hey people would love to hear about any resources you have or know about for nServiceBus, Rhino Service Bus and MassTransit. Videos? Blog posts? Books? Demo Projects etc
superlogical
  • 14,332
  • 9
  • 66
  • 76
12
votes
1 answer

NServiceBus Publish() vs. Send() in website context

I'm looking to gain a better understanding of why it is recommended to never Publish() messages from a website using NServiceBus (NServiceBus Documentation, scroll about two thirds of the way down). Doesn't it make semantic sense to Publish()…
Øyvind
  • 1,600
  • 1
  • 14
  • 33
12
votes
1 answer

Win Service getting permission denied to Message Queuing

I have a WinService that can't start because NServiceBus throws "Service cannot be started. System.Messaging.MessageQueueException (0x80004005): Access to Message Queuing system is denied." This is on Windows 7 I have tried to run the service as:…
Bob The Janitor
  • 20,292
  • 10
  • 49
  • 72
12
votes
3 answers

How to configure MessageEndpointMapping by namespace in NServiceBus

I am trying to configure my message endpoint mapping in my NServiceBus configuration by sending messages from different namespaces to different endpoints. As such, I have configured the following in my web.config:
SteveBering
  • 947
  • 1
  • 12
  • 30
11
votes
1 answer

How to implement a competing consumer solution?

As a exercise I'm trying to find an example which implements competing consumer. many producers - > MSMQueue <- competing consumers So far I did not find any documentation on how to achieve this. My first attempt to figure out how is implemented…
ruslander
  • 3,815
  • 4
  • 32
  • 34
11
votes
4 answers

Domain driven design concepts and relation with CQRS

I recently started to become familiar with DDD concepts and CQRS and I realized that one of the most important concepts in CQRS is DDD beside load balancing, NServiceBus and etc but I am curious if we can use DDD concept alone without using it in…
sajadre
  • 1,141
  • 2
  • 15
  • 30
11
votes
2 answers

Showing changes in View when using CQRS & DDD with Domain Events & ServiceBus

I'm a little confused about the flow in a system using domain events to build the read model. Particularly, how do we deal with the fact that the user expects data (and its view) to change when they complete a command, but due to our system…
11
votes
1 answer

NServiceBus Handle Messages as a Batch

I'm finding common pattern emerging in backend message processing: ServiceA generates a large number of messages. ServiceB processes one message at-a-time. ServiceC issues a call to a database or web service call that earns substantial performance…
silijon
  • 922
  • 1
  • 8
  • 19
10
votes
2 answers

NserviceBus Gateway Sample

Has anyone managed to get the NServiceBus Gateway component to work? The sample in v3.0 does not work out of the box like other samples. A step by step guide or code sample will be helpful to get this component working. Thanks
Michael
  • 101
  • 2
10
votes
4 answers

X509Certificate2 Error - System cannot find the file specified

The associated code, works well in an independent console application, whereas errors out, while trying to make it work, within an NSB architecture. I have tried to test the same within the worker, and also independently within a test console app.…
Rakesh Kumar
  • 307
  • 1
  • 2
  • 10
10
votes
1 answer

Sharing message definitions between NServiceBus services

Imaginative setup Several services Each lives in its own repository Each developed separately Each deployed separately They want to communicate via NServiceBus Research Examples on NServiceBus basics show how several applications, which are part…
Alexei Matrosov
  • 420
  • 4
  • 10