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

NServiceBus pattern for working with events from common shared services

We have a situation where several of our services are shared across our system. For example one that tracks stock movements. Whenever the stock level of an article changes an event is raised. The problem we run in to is that while sometimes another…
Robba
  • 7,684
  • 12
  • 48
  • 76
0
votes
1 answer

Is it possible to set TTL for Saga without using long timeout where MarkAsComplete is called?

Right now we complete sagas which were successful from business point of view, but we store failed sagas for 3 months - we set a timeout and then mark saga as completed. Is there a more generic way for setting saga's Time-To-Live which does not…
Pavel Voronin
  • 13,503
  • 7
  • 71
  • 137
0
votes
1 answer

ServiceControl remove pending upgrade version

I need to update the servicecontrol under current version 3.6.4 and installed on server windows2012r2. To do this I need to upgrade to 3.8.2 before installing the latest version 4. However, I had installed version 4.13 beforehand and the…
Tony
  • 1
  • 2
0
votes
1 answer

Nservice message field issue

I have implemented Voice call in my code using .net with NServiceBus version 7. Below is the code snippet to send voice call: public Task Handle(AddServiceAuto message, IMessageHandlerContext context) { try { string VoiceCallCode =…
0
votes
0 answers

Block a console app from queuing callback requests

Is there a way to not queue callback messages? I have two .Net Core console apps and I'm sending callbacks with NServiceBus with RabbitMQ as a transport. Everything works fine, when I press a button the sender sends a callback waits for the…
0
votes
1 answer

NserviceBus: How to set timeout for the request/reply message

I use nservicebus with rabbitmq and I send a message like this: BusControl.Request(message, Cts.Token).ConfigureAwait(false); But I never receive a response if some errors occur in the consumer or if the endpoint is offline. How to…
Sheinar
  • 362
  • 3
  • 14
0
votes
1 answer

Saga timeouts with SQS transport

NServiceBus docs say: The Timeout Manager is enabled by default. However, it is automatically disabled for send-only endpoints and transports that support delayed delivery natively (i.e. Azure Service Bus). SQL supports delayed messaging, yet max…
Pavel Voronin
  • 13,503
  • 7
  • 71
  • 137
0
votes
0 answers

What defines the category of output window where message will be shown?

I have a default asp.net core application from API template. I write log message in GetWeatherForecast action and I see the message both in Debug and LoggingTests - ASP.NET Core Web Server categories of output window (Show output from). Yet…
Pavel Voronin
  • 13,503
  • 7
  • 71
  • 137
0
votes
2 answers

NServicebus with NLog

I'm trying to figure out how to configure my asp.net core app, that already works with NLog, so that NServiceBus will use it for its internal logging. The current NLog config works perfectly. NServiceBus refers to this, but I haven't found it…
Darthg8r
  • 12,377
  • 15
  • 63
  • 100
0
votes
1 answer

NServiceBus occasionally replays old messages

The service hosted in AWS (multiple instances managed by kubernetes), using in-memory persistence and SqlServerTransport has been caught occasionally replaying old messages (6-7 hours old). No failures. The replay is typically initiated by the same…
user1514042
  • 1,899
  • 7
  • 31
  • 57
0
votes
1 answer

NServiceBus: Trouble getting PubSub working with Distributor

I'm using NServiceBus 2.5 and trying to get a simplified version of the NServiceBus PubSub sample working with the distributor. The simplification: 1 Publisher Distributor 1 Subscriber All of this is on a single machine. I would like to get…
Rohith
  • 2,043
  • 1
  • 17
  • 42
0
votes
1 answer

How to configure NserviceBus with AzureStorageQueueTransport and Azure Storage account which is having private access level

We are using NserviceBus with AzureStorageQueueTransport & storage account with public access but now we have to use Azure Storage account which is having private access level. Is there any way to create a SAS token and append while creating…
0
votes
1 answer

nservicebus can handle db client to msmq backend?

I wonder is nservicebus pub/sub or other type of app can handle db client to msmq server. For example I have a desktop client app. using db queue and i want to send message to server using msmq message queue. Thanks
Ozan Yurtseven
  • 810
  • 8
  • 17
0
votes
1 answer

is nServiceBus a proper fit to fufil this requirement?

as a software engineer I want to tell your system when something needs to be done. I want to provide the implementation code of what needs to be done. I want your system to call into my code and execute my implementation. I want my code to…
CedricB
  • 1,157
  • 9
  • 23
0
votes
0 answers

What queue is NServiceBus using?

I'm trying to work out what queue this Azure webjob is listening to. Handler class: public class InvoiceEventsHandler: IHandleMessages { private readonly IMessagePropagator _messagePropagator; public…
David Klempfner
  • 8,700
  • 20
  • 73
  • 153