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

NServiceBus not creating queues automatically (MSMQ)

I'm doing the examples from the NServiceBus website (http://docs.particular.net/samples/step-by-step/) and when I run in Visual Studio everything works and the queues are created automatically (even if I delete them and re-run the solution than they…
developer82
  • 13,237
  • 21
  • 88
  • 153
4
votes
1 answer

NServiceBus: Increasing number of messages in storage-queues after saga-timeouts

First Some info about the setup: We are running NServiceBus v4.6.3 Distributors are running on clustered machines with clustered queues. The TimeoutManager is disabled on the workers and enabled on the distributor. What we are experiencing When…
3
votes
2 answers

Particular NServiceBus Sagas: Concurrent Access to Saga Data Persisted in Azure Table Storage

This question is in regards to concurrent access to saga data, when saga data is persisted in Azure Table Storage. It is also references information found in Particular's documentation:…
MSC
  • 2,011
  • 1
  • 16
  • 22
3
votes
1 answer

NServiceBus 4 and DTC

I am looking at upgrading our NServiceBus 3.3.3 system to version 4. I read a few posts that seem to indicate that version 4 can work without DTC. Is this true? Basically, this is what I am considering doing: Changing my handlers to be able to…
Vaccano
  • 78,325
  • 149
  • 468
  • 850
3
votes
1 answer

Cannot setup Windows Authentication without a valid commercial license

NServiceBus 3+ uses RavenDB for persistence by default. Several articles (this, this and this) mention that as long as RavenDB is used only to store NServiceBus data (Subscription, Saga, Timeouts), NServiceBus license is enough and separate RavenDB…
amit_g
  • 30,880
  • 8
  • 61
  • 118
3
votes
1 answer

NServiceBus 4 without RavenDB

Is there anyway to use NServicebus 4 without installing RavenDB? We are using 2.5 and I would like to upgrade to 4 but this will be a tough sell if we have to install RavenDB on our production server. Is there any work around?
Raif
  • 8,641
  • 13
  • 45
  • 56
2
votes
2 answers

Send message to error queue first time

Using NServiceBus 4.3 I want to send a message to the error queue when certain conditions arise. The scenario is that when I get a message in I check if this message is referring to 1 or more items in our database. If there are multiple references I…
Robert Snyder
  • 2,399
  • 4
  • 33
  • 65
2
votes
1 answer

Using SimpleInjector with NServiceBus to inject IBus Bus property

I am trying to get acquanited with NServiceBus 5 using its own dependency injection container, and with SimpleInjector, which is our container of choice. There is a way to tell NServiceBus to inject the IBus Bus {get;set;} property into all…
John
  • 3,591
  • 8
  • 44
  • 72
2
votes
3 answers

Testing with in-memory NServiceBus

I'm attempting to create a high level test in my solution, and I want to 'catch' messages sent to the bus. Here's what I do: nUnit [SetUp] spins up the WebAPI project in IISExpress SetUp also creates the bus Send a HTTP request to the API Verify…
adamwtiko
  • 2,865
  • 8
  • 39
  • 47
2
votes
2 answers

timeout index not present on ravendb

tl;dr: my web api service is running slow, added logging logging is giving me errors about not being able to find timeouts didn't see the ravendb database for the webapi project on the server, but dev machines have it raven is running and running…
ton.yeung
  • 4,793
  • 6
  • 41
  • 72
2
votes
1 answer

Do Sagas work with Unobtrusive Mode?

I have an endpoint, called UploadService, that contains a saga started by a command defined in another assembly. The commands in that assembly are registered in the endpoint's initialization via the following lines: public class…
Andrew Church
  • 1,391
  • 11
  • 13
2
votes
1 answer

NServiceBus error handling

I understand the let NServiceBus handles the error and let it retry or use the second level of retries this are valid for some unknown error within the applicaiton. For example let say it the transactionId == null then i dont just want to throw the…
Miral
  • 5,968
  • 16
  • 57
  • 85
2
votes
1 answer

NServiceBus 4 configuration error using .XmlSerializer()

Using NSB 4 with this configuration: Configure.With() .DefaultBuilder() .XmlSerializer() Gives this error warning 'NServiceBus.ConfigureXmlSerializer.XmlSerializer(NServiceBus.Configure, string, bool)' is obsolete: 'Please use…
Sean Kearon
  • 10,987
  • 13
  • 77
  • 93
2
votes
2 answers

nServiceBus "Requested registry access is not allowed"

I am currently using nServiceBus version 4.0.0-unstable3223 (Prerelease) NSB is configured as follows: private static readonly IBus Bus = Configure .With(typeof(IBaseMessage).ReferencedAssemblies()) .DefiningCommandsAs(t => t.Namespace != null &&…
2
votes
0 answers

many Distributors to many workers

We're a licensed product using NServiceBus as the messaging framework in our federated system. Looking for opportunities for using it in a new feature- Is there a way to build a multi-site system (scaled-out), at which each site/node produces and…
1
2 3 4 5 6