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
1
vote
2 answers

Capturing errors when installing NServicebus service in Powershell

So, I have a powershell script to install an NServiceBus service as a Windows Service. Invoke-Expression "$fullNsbHostPath $arguments" For completeness, I've tried both Invoke-Expression and Start-Process: Start-Process -Wait -NoNewWindow…
1
vote
1 answer

Call OutgoingHeaders using NServiceBus.Host

Using NServiceBus 4.0.11 I would like to call Bus.OutgoingHeaders["user"] = "john"; The Header Manipulation sample shows how to call it with a custom host. I would like to call it while using the NServiceBus.Host. So actually I would like to have…
Pascal Naber
  • 1,092
  • 8
  • 14
1
vote
1 answer

NServiceBus Endpoint Routing Injection

I am trying to inject my own IRouteMessagesToEndpoints in NServiceBus with structure map as I need to redirect various messages to different endpoints depending on some business logic (not via namespace/assembly/type). This would allow it to fire…
Tom
  • 603
  • 1
  • 6
  • 17
1
vote
1 answer

How configure NServicebus V4 ConfigurarionComplete event handlers in V5?

In V4 of NServicebus there use to be an ConfigurationComplete event that we can make use of in INeedInitialization implemetation to hook up the event handlers like Configure.ConfigurationComplete += () => { }; In V5 it looks like…
Yogiraj
  • 1,952
  • 17
  • 29
1
vote
1 answer

In NServiceBus, can I use both Pub/Sub messaging and Full Duplex at the same time?

We want to use NSB (NServiceBus) for our app development. We have a bunch (~6) of services that will get hooked into the NSB and where publish/subscribe pattern makes perfect sense. However, there is a configuration service also, where we need a…
John
  • 3,591
  • 8
  • 44
  • 72
1
vote
1 answer

What are the limitations of Sql Server Transport in NServiceBus?

I'm trying to get the VideoStore.NHibernate NServiceBus sample (from Github) working using SqlServerTransport rather than MSMQ (we don't want to have any reliance on MSMQ nor RavenDb). I have switched this sample over to use SqlServerTransport…
Rebecca
  • 13,914
  • 10
  • 95
  • 136
1
vote
2 answers

What is the recommended approach for raising database-triggered events with NServiceBus? Is direct SQL Service Broker integration no longer viable?

My team is currently in the initial stages of designing implementations using NServiceBus (v4, possibly v5) in a number of different contexts to facilitate integration between a number of our custom applications. However we would also like to…
1
vote
0 answers

NServiceBus - Nested Full Duplex Scenario

I am new to NServiceBus and have been playing around with NServiceBus samples for not more than two days. I have had a look at the Full Duplex messaging sample and it works fine for me. But now, I am trying to implement a nested full duplex scenario…
Jay
  • 177
  • 2
  • 12
1
vote
2 answers

NServiceBus 4.0 - Duplicate Messages

Does NServiceBus guarantee that a single message isn't handled by more than one thread? I've been working under this assumption, however it seems that a single message was handled twice at the same time. We do some non-transactional things in our…
Matt Stewart
  • 322
  • 3
  • 14
1
vote
1 answer

Where can I find a NServiceBus 4.1 message during an SLR retry?

We are currently implementing a new system. It now happens, that the content of my message is wrong and gets rejected by the connecting system (we transfer data over a REST service). I can edit my message as soon as it is in the error queue and…
Cariarer
  • 136
  • 1
  • 13
1
vote
0 answers

NServiceBus Saga can't find handler because it's using the wrong ID

I am using NSB 4. I have a saga that has the following BaseSaga, IAmStartedByMessages, IHandleMessages, .... BasSaga just wraps saga. I don't know why I've got bigger fish to fry right now. I…
Raif
  • 8,641
  • 13
  • 45
  • 56
1
vote
1 answer

Could not forward the failed message to error queue

When an exception occurs in the code that's called from the handler, the host tries it for 5 times and then shuts down the service with the following message: 2013-10-17 08:57:12,091 [13] FATAL NServiceBus.Faults.Forwarder.FaultManager [(null)] -…
1
vote
1 answer

NServiceBus SatelliteLauncher exception

I've got the following EndpointConfig.cs public class EndpointConfig : IConfigureThisEndpoint, IWantCustomInitialization, AsA_Server { public void Init() { Configure .With(GetAllAssemblies()) .XmlSerializer() …
MeTitus
  • 3,390
  • 2
  • 25
  • 49
1
vote
2 answers

NServiceBus 4 Could not forward failed message, queue not found

I am having issues after migrating to NService 4 (4.0.4). When a message handling fails, it looks like whole NServiceBus is stopping and not doing any work (messages from MSMQ are not consumed any more). After looking into logs, I found the…
stachu
  • 277
  • 1
  • 3
  • 13
1
vote
1 answer

How to register message mutators in a web application

I'm using NServiceBus 4.0.3 with the Ninject builder and cannot figure out how to register message mutators (IMutateTransportMessages). I've registered the mutator with the Ninject Kernel but it is never invoked. Below is how I'm configuring…
Ben Foster
  • 34,340
  • 40
  • 176
  • 285