Questions tagged [nservicebus4]

NServiceBus is a highly pluggable, reliable, open source Enterprise Service Bus built on .NET.

NServiceBus is a highly pluggable, reliable, open source Enterprise Service Bus built on .NET.

85 questions
0
votes
1 answer

NServiceBus.Host.exe timeout and logging configuration - Configurable through NServiceBusHost.exe.config

I have an issue with NServiceBusHost.exe. Currently I am running a NServiceBusHost.exe as a windows services and am receiving timeout exceptions, as shown here: Microsoft Service Trace Viewer output:
0
votes
1 answer

NHibernate Session issue with NServiceBus

We have a simple nservicebus (v4) setup in which a web app sends various messages to a backend endpoint for processing. Everything was going smoothly until ramping up the concurrency level. Often, but not all of the time we'll get the following…
Matt Stewart
  • 322
  • 3
  • 14
0
votes
0 answers

Avoid the saga to be saved to RavenDb when an exception happens in a Unit of Work

Is there any way (other than enrolling in a distributed transaction) to avoid the Saga data to be saved to RavenDB in NServiceBus if an exception happens in the End method of a Unit of Work? I setup NSB 4.1 to not use the…
Ajadex
  • 2,319
  • 1
  • 20
  • 23
0
votes
1 answer

nservicebus loading dual subscriptions

My ICommand handler is being called twice! I am self hosting nservicebus in IIS (and debugging using Cassini). Configure.ScaleOut(_ => _.UseSingleBrokerQueue()); Configure.With() .AutofacBuilder(container) …
Jim
  • 14,952
  • 15
  • 80
  • 167
0
votes
1 answer

How do you separate your application logging from NServiceBus framework logging

NServiceBus writes to the logs into the folder where the host process is. How can I write my application specific log to a separate file using log4net so that I look at the application logs and then if there is a NServiceBus issue, I go look at the…
0
votes
0 answers

NServiceBus 4.03, performance counters number of msgs successfully processed not being updated

I cant see any activity in # of msgs successfully processed. I can see critical time being updated properly
Miral
  • 5,968
  • 16
  • 57
  • 85
0
votes
1 answer

NServiceBus 4.03 Removing worker node

We have blue/green deployment process where we want to remove couple of workers. How do I remove the worker messages stored in the storage q?. We have got a work around of emptying the storage q. Does NServiceBus give out of the box way of doing it?
Miral
  • 5,968
  • 16
  • 57
  • 85
0
votes
1 answer

NServiceBus 4.03 Is there a way to preserve the message thrown to a wrong handler into some error q

I have 5 different handlers running as NServiceBus host as windows service. I had issue when my client send the message to a wrong endpoint(i.e. instead of endpoint A it pointed to endpoint B) which result message not getting processed (as…
Miral
  • 5,968
  • 16
  • 57
  • 85
0
votes
1 answer

NServiceBus 4.03, Bus.Send followed by an error condition

I have following scenarios where in Saga Scenario 1 Bus.Send(message); Data.Status = "email send requested"; what if the Database is down for that moment, would the message gets sent? if yes, then the retry (FLR/SLR) would fire which…
Miral
  • 5,968
  • 16
  • 57
  • 85
0
votes
1 answer

NServiceBus 4.03 Performance Counters in production

I am enabling performance counters using profiles in our development environment. I am thinking of using it in production. Would it impact the performance if we enable these counters in production?
Miral
  • 5,968
  • 16
  • 57
  • 85
0
votes
2 answers

Nservicebus 4.0 Send IEvent from website

I'm upgrading from 2.6 to 4.0. in 2.6, I have my website send the message to the Publisher service. The Publisher service then publishes the message to one or many subscribers. However, in 4.0, one must send and IMessage and publish an IEvent. I…
Raif
  • 8,641
  • 13
  • 45
  • 56
0
votes
1 answer

NServiceBus 4.03, when the queue doesnt exist, message is being sent to Transaction Dead Letter Q

I have Distributor/Worker model. Machine A - Distributor Machine B - Worker When the worker B is trying the send message to Distributor on a wrong Q name, its putting the message into Transactional Dead Letter Q. I was expecting the message to…
Miral
  • 5,968
  • 16
  • 57
  • 85
0
votes
1 answer

"Multiple serializers are not supported" configuration error in NServiceBus 4.0.4 during unit testing

I am trying to unit test message handlers for NServiceBus 4.0.4. The bus is configured to use JSON serializer in the application using the Configure.Serialization.Json(); method call. Whenever I call the Test.Initialize() method from the unit tests…
Dmitry S.
  • 8,373
  • 2
  • 39
  • 49
0
votes
1 answer

Why NServiceBus DistributorDataAddress has to be set on UnicastBusConfig in the WORKER node?

What is DistributorDataAddress? What is the use of it in WorkerNode???? In all of the Scaling examples I can see this being setup in Worker.
Miral
  • 5,968
  • 16
  • 57
  • 85
0
votes
1 answer

NServiceBus Use 4.0 Handler in 2.6 saga

we have a saga that calls numerous handlers. I want to start the migration from 2.6 to 4.0 so I have upgraded one of the handlers to 4.0. If I deploy this handler alongside the other 2.6 handlers and with a 2.6 saga that calls both types of…
Raif
  • 8,641
  • 13
  • 45
  • 56