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
10
votes
3 answers

Do WF and nServiceBus overlap? How? And which to use?

Is there any overlap between MS WF and NServiceBus, in terms of workflow specifically? Is there a need to use one if the other is already in use? How well do they play together?
Jacques Bosch
  • 2,165
  • 3
  • 25
  • 36
10
votes
2 answers

Exception - Stack trace line number and message do not match

We're seeing an odd issue with some of our code when things go awry - in certain circumstances, the exception message and the stack trace don't match up. We have a number of message handlers with similar structure, like the following: public void…
Damien_The_Unbeliever
  • 234,701
  • 27
  • 340
  • 448
10
votes
5 answers

Is NServiceBus an ESB at all

Is NServiceBus a ESB or lightweight ESB at all? or is it more like WCF with durable/ reliable messaging? It looks to me more like a messaging framework than ESB. just want some pointer as I am just started looking into different ESB products and…
Eatdoku
  • 6,569
  • 13
  • 63
  • 98
9
votes
2 answers

NServiceBus equivalent in Java world

Is there any NServiceBus equivalent for Java? I'm not looking for nothing more complicated, even Mule ESB seems to be too much for my needs.
mgamer
  • 13,580
  • 25
  • 87
  • 145
9
votes
4 answers

Swapping out MSMQ for RabbitMQ in NServiceBus

Udi mentions here that "people have swapped out the MSMQ layer of NServiceBus and plugged in RabbitMQ in its place". I'm looking to do the same thing with the end goal of being able to run an app built with NServiceBus on Mono/Linux with…
Michael Shimmins
  • 19,961
  • 7
  • 57
  • 90
9
votes
2 answers

Updating UI after sending command

I'm struggling in solving this architectural problem, Our system is using NService Bus, and Implementing DDD with EventSourcing using NEventStore and NES. The client application is WPF I still can't decide what is the best practice to update the…
Nour
  • 5,252
  • 3
  • 41
  • 66
9
votes
1 answer

NServiceBus and NHibernate - Message Handler and Transactions

From my understanding NServiceBus executes the Handle method of an IMessageHandler within a transaction, if an exception propagates out of this method, then NServiceBus will ensure the message is put back on the message queue (up X amount of times…
user53791
9
votes
1 answer

NServiceBus Warning "No handlers could be found for message type"

I am new to NServiceBus and am trying to develop a publisher and separate subscriber (I’m using v3.2.0.0) which, so far, is sort of working ok – both the publisher and subscriber are running in NServiceBus Host. My messages all publish ok but…
RichardB
  • 606
  • 2
  • 12
  • 22
9
votes
1 answer

Running NServiceBus on Amazon EC2

So I have seen a number of references and links from a year +/- ago asking about support for NServiceBus on Amazon EC2. Wondering if anyone out there has attempted to do anything with this recently? I have seen the following articles/posts but fear…
xinunix
  • 561
  • 4
  • 15
8
votes
1 answer

How does MessageEndpointMappings know to setup a subscription vs outgoing messages?

I see MessageEndpointMappings section in my App.config and it just keeps confusing me. Sometimes it looks like it sets of a client to subscribe to another queue (like this one does):
Vaccano
  • 78,325
  • 149
  • 468
  • 850
8
votes
4 answers

NServiceBus MSDTC woes

I am writing this post here in hopes that someone can help me out. I am trying to implement NServiceBus on an ASP.NET MVC application. I have gone through each and every step to ensure that everything is wired up right. I have an event that passes a…
Anup Marwadi
  • 2,517
  • 4
  • 25
  • 42
8
votes
2 answers

NServiceBus: How to move messages from the error queue

I had a bug in my application that cause a number of messages to be moved into the error queue. Now that I have fixed the bug, is there a simple way to move them back to the original queue so they can be processed?
skb
  • 30,624
  • 33
  • 94
  • 146
8
votes
2 answers

Enterprise Service Bus real world usage or examples

I'm looking into the ESB thing with .net like NServiceBus etc , can someone highlight what kind of real world business problems can be solved (forget the technical edge) ? And is this used to integrate different systems.?
abmv
  • 7,042
  • 17
  • 62
  • 100
8
votes
1 answer

NServiceBus - what is the point of IHandleMessages vs IMessageHandler?

What is the point of IHandleMessages vs IMessageHandler in NServiceBus 2.0? One interface derives from the other and does not appear to add any new methods or new constraints on T. It is possible that one is a marker interface but there is no…
Thomas Bratt
  • 48,038
  • 36
  • 121
  • 139
7
votes
2 answers

Can an NServiceBus endpoint subscribe to multiple publishers of the same message?

I am developing a system to support receipt of status information from a variety of hardware types. Each piece of hardware is reporting the same status information (Latitude, Longitude), but each hardware type uses a unique protocol for reporting…
JadeMason
  • 1,181
  • 1
  • 14
  • 23