Questions related to the 3rd version of NServiceBus may have this tag.
Questions tagged [nservicebus3]
64 questions
2
votes
1 answer
NServiceBus initialization failing in MVC when I pass some types to scan
In my bootstrapper I start by doing this:
public static void Initialise()
{
var container = BuildUnityContainer();
InitializeNServiceBus(container);
DependencyResolver.SetResolver(new…

Guillaume Schuermans
- 906
- 2
- 12
- 28
2
votes
0 answers
NServiceBus 3.2 - NullReferenceException at NServiceBus.Timeout.Core.TimeoutRunner.CacheExistingTimeouts()
A big thank-you to Andreas in helping my previous NSB 3.2 issue (http://stackoverflow.com/questions/10904857/nservicebus-endpoints-looking-for-ravendb-for-timeouts-after-upgrading-3-0-3). After implementing that change I now have a FATAL exception…

plenderj
- 563
- 4
- 15
2
votes
2 answers
NServiceBus endpoints looking for RavenDB for timeouts after upgrading 3.0.3 -> 3.2.2
Using NuGet I upgraded all the NServiceBus references in a project from 3.0.3 to 3.2.2
For the 4 services in this solution I also gave them references to NServiceBus.Host from NuGet
I deployed the binaries to a test environment, and the services now…

plenderj
- 563
- 4
- 15
2
votes
1 answer
NServiceBus processing message later
I'm building a system using NSerivceBus, that should only send the messages to a remote handler on a specific time frames. So far, I managed to place all the messages on a processing queue and from there check for availability of the remote handler,…

Hadi Eskandari
- 25,575
- 8
- 51
- 65
1
vote
2 answers
NServiceBus Unit Of Work - get which handler is called?
I'm trying to write a Unit Of Work for NServiceBus that will be called before and after each message handler to measure the time it takes for that handler to run and write it in to a database.
I was able to successfully write the Unit Of Work, but…

developer82
- 13,237
- 21
- 88
- 153
1
vote
1 answer
NServiceBus service running on custom account
We are currently having some issues running a NServiceBus (3.3.7) service on an account that is not LocalSystem. It seems to have issues contacting RavenDB for saga access. We are currently getting an error like this:
2013-06-14 11:21:39,551 - WARN…

carl
- 375
- 4
- 17
1
vote
1 answer
System.Net.HttpListenerException: Failed to listen on prefix 'xxxx' because it conflicts with an existing registration on the machine
Whenever deploy our component we were receiving the following exception. Sometimes the component itself won’t start, sometimes the Service Console might say started but the service wont process any message.
The error is pretty straightforward.…

Manivannan.D.Sekaran
- 149
- 1
- 9
1
vote
0 answers
Nservicebus - Worker Node not able to create dynamic queues
We had a previous configuration stating Nservicebus not to create queues.
We removed that configuration from fluent to allow to create queues.
With the dynamic queue creation which is unique to each worker node, it is not creating queues for the…

Kannaiyan
- 12,554
- 3
- 44
- 83
1
vote
1 answer
NServicebus and ASP.NET Web API - MSMQ Transaction issues?
I've got an ASP.NET Web API that accepts a DTO in an HTTP PUT method, performs some validation then Bus.Send()s a command.
Currently, all the messages are ending up in the configured MSMQ error queue.
Here's some pseudo code as an overview of the…

Matt F
- 384
- 1
- 9
1
vote
2 answers
High CPU usage with NServicebus when IIS hosted (Asp.net and WCF)?
We noticed that CPU usage went up from 5% TO 50% after adding NServicebus to our ASP.net MVC app. This was on a server that was not under any load. We noticed the same behavior on another server that hosted a WCF app. After trying out different…

darthjit
- 1,555
- 13
- 20
1
vote
0 answers
Configure decorators with NServiceBus DI
How can I configure NServiceBus to inject decorated classes correctly?
Imagine this scenario:
public class A
{
public IDependency Dependency {get;set;}
}
public class B : IDependency
{
public IDependency DecoratedDependency {get;…

Sam Holder
- 32,535
- 13
- 101
- 181
1
vote
1 answer
NServiceBus - scaling out subscriber duplicates events across master and worker
My core question is how to scale out a subscriber in NServiceBus. Please let me know what I'm doing wrong or what I've missed. I'll gladly answer any questions about my setup.
Scenario:
I'm seeing what I hope is incorrect behavior in my attempts…

Tim Hardy
- 1,654
- 1
- 17
- 36
1
vote
1 answer
NserviceBus (version 3.2) custom configuration
Newbie needs help here.
I've been going over the custom configuration documentation. However, I'm not able to figure out what is missing, or if I'm on the correct path. I'm trying to custom configure using IWantCustomInitialization to create a…

T P
- 21
- 3
1
vote
2 answers
NServiceBus error queues in Azure
I'm trying to setup NServiceBus in Azure. During local development I am using the storages queues and when deployed in the cloud I am using the Azure Service Bus. For some reason when an error occurs, messages are not moved to the error queue. In…

svb
- 641
- 1
- 7
- 13
1
vote
0 answers
NServiceBus IHandleTimeouts throws SagaNotFoundHandlers
I am trying to use the NServiceBus 3.0 ITimeoutState and IHandleTimeouts feature in my Saga. I have the following code snip. The following code working fine without any issue on NServiceBus.3.0.0-rc5. But, when i updated the DLLs with any version >…

Manivannan.D.Sekaran
- 149
- 1
- 9