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

NServiceBus Sagas

I have a working pub sub sample and I want to look at sagas. How can I configure the in mem saga persistence?
Neil
  • 75
  • 1
  • 9
0
votes
2 answers

How to prevent NServiceBus from not sending messages on errors

I'm new to NServiceBus, so maybe I'm asking something pretty silly here, but is there a way to make NServiceBus not stop sending any messages that are sent in response to a message whose handler fails? Let me explain with a simple example. Suppose I…
Robba
  • 7,684
  • 12
  • 48
  • 76
0
votes
1 answer

Payload of a message: Id or full object

What are the pros and cons of sending the Id or the full object in a message? If I send a message with about an Order + Orderlines from system A to system B I can send the full order or first store the Order and then send the Id. I'm not sure which…
user369117
  • 775
  • 1
  • 8
  • 19
0
votes
1 answer

Nsb: Unit Testing Saga Handlers which call ReplyToOriginator

I'm writing simple Unit Tests for all my Saga Handlers, basically just making sure the Messages are being caught/handled at all. However, one of the Saga Handlers calls ReplyToOriginator and right now it's throwing an Exception because the Test…
0
votes
0 answers

How can I check the logs for NServiceBus license updates

I want to know who has updated the NServiceBus license and when it has been done? How can I get this information. I have NServiceBus version 5, and i have the rolling log files. Any help would be appreciated. Thanks
Shaikh Farooque
  • 2,620
  • 1
  • 19
  • 33
0
votes
1 answer

Issue with early message dispatching in NServiceBus 6. Batched message dispatch does not work?

We use NServiceBus 6 with transports MSMQ and RabbitMq. When we had MSMQ with distributed transactions, we never had message dispatched earlier than distributed transaction get committed. However when we turned it off and wrap it inside transaction…
YMC
  • 4,925
  • 7
  • 53
  • 83
0
votes
1 answer

NServicebus approach multiple queues

We are processing a bunch of messages on a single queue, all looks good. Several handlers that will take care of that. But now we are coming to the case that we need to process messages coming from one user synchronously. at the start of a message i…
Roelant M
  • 1,581
  • 1
  • 13
  • 28
0
votes
1 answer

How to see Service bus queue messages in readable form?

I am new to Service Bus and Azure. My service bus has messages but data looks not readable. I am using Service Bus Explorer. Can you please guide how to see data in readable form? Thanks
user576510
  • 5,777
  • 20
  • 81
  • 144
0
votes
1 answer

NService bus with SQL Transport

I'm trying to understand what needs to be done to use sql server for with NServicebus in .Net Core Let s say I have MicroserviceA sending a command to MicroserviceB Do I need to have a common project between both solutions that would share the…
tri
  • 191
  • 1
  • 3
  • 9
0
votes
1 answer

NServiceBus 7 - How to send multiple consecutive requests?

I am trying to make multiple consecutive requests using NServiceBus and RabbitMQ. Here is my code class Program { static void Main(string[] args) { MainAsync().GetAwaiter().GetResult(); } static async…
EduardoCMB
  • 392
  • 2
  • 17
0
votes
0 answers

Problem with pub/sub events with NServiceBus and Azure Service Bus

I am using NServiceBus along with AzureServiceBus transport layer in my .net application. The publisher in .net core web application and the subscriber is .net core console application. Now the issue is I am publishing event for web application and…
Ask
  • 3,076
  • 6
  • 30
  • 63
0
votes
0 answers

Exchanging NServiceBus messages with native implementation of Azure Service Bus

Consuming a message published with NServiceBus, using IQueueClient/Functions-ServiceBusTrigger (Microsoft.Azure.ServiceBus) I'm working in a WebJob using .NET Core and Microsoft.Azure.ServiceBus to consume a message that has been published by a…
Luis_DV
  • 73
  • 5
0
votes
1 answer

nservicebus multiple endpoint configuration

Is there any way to configure 2 endpoints with different transport in NServiceBus to receive messages from one endpoint and publish an event to another endpoint? I am looking for a solution to configure ASP.Net Core web API application which takes…
0
votes
1 answer

NServiceBus Distributor clustering configuration

Pardon me for posting here instead of serverfault, but NServiceBus seems like the kind of thing that really only developers understand. The problem is that we have a new app that uses NServiceBus and we are eager to show off the new bells and…
CrazyDart
  • 3,803
  • 2
  • 23
  • 29
0
votes
1 answer

Timeouts - Request them all in the beginning or one by one?

In general, when designing a system which has multiple events happening in some well pre-defined logical order, are there any benefits to either requesting all necessary timeouts at the beginning of the process, or requesting always only the "next"…
user10674020