Questions tagged [nservicebus3]

Questions related to the 3rd version of NServiceBus may have this tag.

64 questions
48
votes
1 answer

NServiceBus vs Windows ServiceBus

Would someone be able to shed some light on the differences between the newly release Windows ServiceBus (on premise, not Azure) and NServiceBus? Looking for a detailed answer what the windows SB may be missing as I'm familiar what NSErviceBus can…
TimJohnson
  • 923
  • 1
  • 9
  • 22
7
votes
2 answers

What is the correct way to use the timeout manager with the distributor in NServiceBus 3+?

Version pre-3 the recommendation was to run a timeout manager as a standalone process on your cluster, beside the distributor. (As detailed here:…
janovesk
  • 1,138
  • 7
  • 14
7
votes
1 answer

Wrapping NServiceBus.IHandleMessages

I am being asked to develop a layer that will act as a generic bus without any direct references to NServiceBus. Which so far thanks to support for unobtrusive messages isn't too hard. Except now I've been asked to provide our own definition for…
Mark J Miller
  • 4,751
  • 5
  • 44
  • 74
5
votes
2 answers

MSMQ consuming large amounts of memory when processing messages with NServiceBus

I have two windows services which use NserviceBus. One writes messages to the queue and the other reads from it and do some processing. All the queues are transactional and the NserviceBus endpoints are configured as…
Niv
  • 53
  • 1
  • 3
5
votes
1 answer

Snapshots with Castle Windsor child containers

After reading the page (http://docs.particular.net/nservicebus/containers/child-containers) regarding support for child containers by NServiceBus 3, I was expecting that in Castle Windsor transient components in the parent container behave like…
Ajadex
  • 2,319
  • 1
  • 20
  • 23
4
votes
2 answers

NServiceBus long running process that timesout

We have noticed an issue with message handlers that have a long running request, if the request does not finish processing before the distributed transaction times out the same message is reprocessed on a new thread before the original message is…
3
votes
2 answers

NServiceBus - message not always delivers and causing exception Cannot enlist the transaction

We are using NServiceBus on production, and in our log files we see the following error: ERROR Our.Namespace.SomeMessageHandler [(null)] <(null)> - MethodName --> end with exception: NServiceBus.Unicast.Queuing.FailedToSendMessageException: Failed…
developer82
  • 13,237
  • 21
  • 88
  • 153
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

Is there a way to breakup messages in an Error Queue?

Our NServiceBus system fell behind this week (by 300,000 messages). We currently process about 4 messages per second, so the catch up time was too long. In an attempt to speed things up, we added more objects to each NServiceBus message (20 per…
Vaccano
  • 78,325
  • 149
  • 468
  • 850
3
votes
1 answer

NServiceBus Dependency Injection

I've been having a bit of trouble with this. Andreas Öhlund answered a question on it here, but I've been unable to get it to work using the advice he gave. Here's my setup: public abstract class CommandHandler : IHandleMessages,…
jacderida
  • 565
  • 1
  • 4
  • 14
3
votes
1 answer

Difference between IWantToRunAtStartup and IWantToRunWhenTheBusStarts in NServiceBus?

I'm creating an NServicebus hosted process and want to initialize my IOC container as well as create an instance of the Self-Hosted Web API. I'm trying to understand the conceptual differences between implementing the IWantToRunAtStartup and…
Jace Rhea
  • 4,982
  • 4
  • 36
  • 55
2
votes
1 answer

Type ... was not registered in the serializer (non web app)

I am trying to send a command with NServiceBus 3.0. Everything works when I send a command that implements ICommand. However, it does not work if I use the conventions. The source is below. Can someone tell me what I am doing wrong? public class…
Rob Bagby
  • 139
  • 1
  • 7
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…
2
votes
2 answers

Suspending and modifying NServiceBus saga timeouts

I have a saga which represents a long-running work assignment process of a "Person" to a "Case". Several events may kick it off, and at the end of the process we have an assignment confirmation, at which point the saga completes and the Person is…
killthrush
  • 4,859
  • 3
  • 35
  • 38
2
votes
2 answers

Removing Subscribers from NServiceBus/Raven

Using NserviceBus 3.3 with Raven for subscription persistence. I'm creating a prototype application that will consume messages from a publisher in our test environment. The application will only be used for a few weeks, at which point it may be…
Phil Sandler
  • 27,544
  • 21
  • 86
  • 147
1
2 3 4 5