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

One NServiceBus.Host for one EndPoint, what is the recommended approach

I'm trying to understand NServiceBus given the online documentation. What I can't wrap my head around is the overall recommended setup of the infrastructure. Our app is supposed to be able to run both a single machine and across multiple (logically…
John
  • 3,591
  • 8
  • 44
  • 72
0
votes
1 answer

NServiceBus 4.6.5 NHibernate Saga Persister not persisting Saga Data

I am using NServiceBus with NHibernate and hosting the bus in my own process. The configuration I am using is: Configure.ScaleOut(s => s.UseSingleBrokerQueue()); Configure.Transactions.Enable(); Configure.Features.Enable(); …
0
votes
2 answers

Transactions in NServicebus using Azure Service Bus Transport

I have several message handlers in a particular endpoint that do their work against a SQL Azure database (at the moment still using a local SQL 2012 instance). I have a command handler that publishes 2 events, call them X and Y. In the same…
Phil Bennett
  • 4,809
  • 4
  • 30
  • 28
0
votes
0 answers

Creation and Deletion of NServicebus subscriptions upon Starting and Stopping the bus

The design brief for my project includes the following: Be able to spin up new instances of Windows Services at will and attach random message handlers to each for the purpose of logically grouping the handlers along service boundary lines (or any…
0
votes
1 answer

Configuration issue after upgrading NServiceBus to 4.6.1

I am getting an interesting error. I have upgraded both Castle and NServiceBus. Castle was using version 3, now using version 3.3.1. NServiceBus was using 3.2.7 and am now using 4.6.1. My configuration /// /// Castle Windsor Installer for…
MattB
  • 585
  • 4
  • 17
0
votes
1 answer

not able to enable the timeout manager in a distributor with Production profile in a Master node

After deploying my service as a Master with production profile I don't see the timeout manager to get enabled in the initialiazation. I have tried everything with no success. The way I install the service is: NServiceBus.Host.exe /install …
Pablo Castilla
  • 2,723
  • 2
  • 28
  • 33
0
votes
1 answer

NServiceBus.CastleWindsorBuilder can't resolve SqlServerMessageSender.ConnectionStringCollection

Can anyone help me with the following problem, that only seems to occur since the latest NServiceBus upgrade (4.3 -> 4.4.2). We're creating a MVC4 application, that should receive messages from an other application. NServiceBus is self-hosted in the…
StevenQ
  • 182
  • 1
  • 11
0
votes
1 answer

Can a NServiceBus message have an anonymous type property?

I have a Payload property of type object. I fill Payload with an anonymous type, and send it off, I then get this ugly error: 2014-03-12 15:50:25,649 [7] ERROR NServiceBus.Unicast.Transport.TransportReceiver [(null)] <(null)> - Failed to…
ton.yeung
  • 4,793
  • 6
  • 41
  • 72
0
votes
1 answer

Installing NServiceBus performance counters fails

I am installing NSB infrastructure using Powershell cmdlets. I tried on some test virtual machines and it seems to work ok. However, in production, on Windows 2008 R2 machine I get the following error PS C:\temp\mcbus\1>…
Alexey Zimarev
  • 17,944
  • 2
  • 55
  • 83
0
votes
1 answer

Automatic subscription not working

trying to start with nservicebus. My intent is to at least get the log message that the endpoint is trying to subscribe. So I created message handler for message like namespace BusStop.Billing { public class OrderAcceptedHandler :…
Ivan
  • 1,254
  • 12
  • 25
0
votes
2 answers

Creating an instance of nservicebus iBus with a different transport protocol within a handler. MSMQ to Azure

We have an existing servicebus running off of MSMQ that consumes an event that needs to publish a command to a bus running on Azure. We're exposing azure to the outside world and keeping msmq for internal messages. I've tried to new up an instance…
Hugo Forte
  • 5,718
  • 5
  • 35
  • 44
0
votes
1 answer

The operation is not valid for the state of the transaction when trying to make Bus.SendLocal in Handler (local Azure worker)

I have a next code: class ProcessHandler : IHandleMessages { public IBus Bus { get; set; } public void Handle(StartProcess message) { //some long living process (over 3 min) Bus.SendLocal(new…
Nick Suslov
  • 124
  • 1
  • 12
0
votes
1 answer

NServiceBus wire encryption during send to queue on another machine

I have a web service that: Uses MSMQ transport. Is a send-only NSB endpoint. Uses NSB's message encryption. Sends to a message queue on another machine. Is the message encrypted during transport across the network to the message queue on the…
Sean Kearon
  • 10,987
  • 13
  • 77
  • 93
0
votes
1 answer

Publish NServiceBus events from command handler

I'm trying to implement a simple POC for a NServiceBus solution. So I implemented 3 endpoints, let's call them A,B and C. A is self hosted in a console app, B and C are NSB hosts. In A I'm sending a command DoFoo, in B I'm handling DoFoo and inside…
moranlf
  • 554
  • 5
  • 19
0
votes
3 answers

NServiceBus and WebSphere mq configuration

I'm trying to configure my NServiceBus project to use WebSphere mq. I've been searching all other the web and didn't find any up to date examples. according to this post there is a dll that exposes API for WMQ configuration. However, their example…
Dennis Nerush
  • 5,473
  • 5
  • 25
  • 33