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
0
votes
1 answer

How do I coalesce processing of related events in NServiceBus?

I have a situation where I have a service subscribing to event messages and performing some work when they arrive. There is a certain class of events which can arrive in short bursts of many events which reference the same underlying data. I would…
jlew
  • 10,491
  • 1
  • 35
  • 58
0
votes
1 answer

Is it ok to share the same port across multiple endpoints on the same machine?

I've 7 processes hosted on same machine (C# .NET Framework), each of them is wrapping a NServiceBus (gateway) endpoint to communicate with remote-site processes (MSMQ-based Transport, InMemroyPersistency). I was wondering if from performance/network…
tal.f
  • 73
  • 5
0
votes
0 answers

Trying to call WCF service from inside NServiceBus Message Handler, but it hangs when creating the Service Client

Must be doing something awfully wrong here. Here is what I'm trying to do. I have a Message handler that should get a message from the queue. Make a WCF call, do stuff and when done, send a new message out on the bus. It is hosted in the…
Dennis Skantz
  • 363
  • 2
  • 8
0
votes
1 answer

NServiceBus 5 and 6 compatibility

Can an NserviceBus 6 endpoint send a message to an NServiceBus bus 5 endpoint? I have two .Net projects, one defines an endpoint in version 6 and sends a message to an endpoint defined in version 5. The handler in version 5 isn't picking up the…
S Al
  • 3
  • 1
0
votes
1 answer

NSB V7 service attempting to subscribe to V2.5 service

I have a situation where my NSB v7.2 service needs to subscribe to a NSB v2.5 i.e. very old service. In the NSB v2.5 app I get an error complaining that the message body is empty. It seems V7.2 subscribe info in NSB v7.2 messages is all in the…
Captain John
  • 1,859
  • 2
  • 16
  • 30
0
votes
0 answers

Can NServiceBus have two endpoints with different handlers to receive different RabbitMQ events?

We have two NServiceBus endpoints in a .Net Core 3.1 service using RabbitMQ as the transport. We're using two endpoints since we're subscribing to different events from different instances of Rabbit. We have event handlers created for the specific…
MonkeyWrench
  • 1,809
  • 2
  • 24
  • 48
0
votes
0 answers

Fatal NServiceBus exception when starting endpoint, cannot open database

We just made some changes to our project and deployed it. We have 7 endpoint databases in our SQL Server database for NServiceBus. We recently added 2 more. One of the two services using one of the two new endpoints fails to start. When looking at…
0
votes
0 answers

Send message in FIFO order RabbitMQ and NserviceBus

We are building an application in .net using RabbitMQ and NserviceBus. We have to send messages to Hospitality Services. We want to be able to process messages in parallel. The issue we have is that message order at the receiving side is important.…
0
votes
1 answer

Using a request/reply with an NService web service bridge

The NServiceBus Web service bridge example only demonstrates a Command message scenario. I am interested in a scenario where the web service bridge uses request/reply to do a synchronous response to the client like any other normal web service call.…
MSVictim4_0
  • 11
  • 1
  • 3
0
votes
1 answer

NServiceBus with AzureStorageQueues not removing poison messages from input queue due to changing message properties

I am experimenting with a new NServiceBus project utilizing Azure Storage Queues for message transport and JSON serialization using custom message unwrapping logic seen here: var jsonSerializer = new Newtonsoft.Json.JsonSerializer(); …
Beau
  • 5
  • 1
0
votes
1 answer

nservicebus send command object with list type property using msmq transport

I have 2 nservicebus endpoints and the one endpoint is trying to send a command (class) object which contains 3 properties i.e. bool, List and class. Here is the complete command class below public class StartProcess : ICommand { public bool…
Tumelo
  • 301
  • 3
  • 18
0
votes
1 answer

NServiceBus PubSub - how to break binary dependencies between pub'r and sub'r?

I have a requirement to build a NSB subscriber which will subscribe to messages being published by a service which is already live. This service was built with a messages assembly containing the NSB IMessage implementations which I want to subscribe…
tom redfern
  • 30,562
  • 14
  • 91
  • 126
0
votes
1 answer

Service Bus Support

I’m new here, sorry if this is somehow a dumb question or if it’s been covered, but I can’t find an answer anywhere!! I am trying to figure out how other companies provide support for alerts generated from activity on their service busses? I can…
0
votes
1 answer

Is it okay to use the same Subscriptions table for multiple publishers?

I have multiple publishers which want to persist their subscription info in storage. Is it okay for them to use the same table in the same database, or do I need to separate them?
jlew
  • 10,491
  • 1
  • 35
  • 58
0
votes
1 answer

What is the correct usage for persistence using NServiceBus?

In the documentation it gives the following on setting up persistence: // Use NHibernate for all persistence concerns endpointConfiguration.UsePersistence(); OR // or select specific concerns <-------…
Kixoka
  • 989
  • 4
  • 15
  • 37