Please consider the following questions in the context of multiple publications from a scaled out publisher (using DB subscription storage) and multiple subscriptions with scaled out subscribers (using distributors) where installs and uninstalls happen regularly for initial deployments, upgrades, etc. using automated MSI's.
Using DB su...
Is it possible to use NServiceBus in an application without having any input queues?
Reason is, I have an ASP.NET MVC application that sends messages to other applications when something happens (e.g. a new user registers). The web application never recieves any responses or other messages and therefore I would like not to bog the app. ...
I have Web Application that has 2 sets of services. One set is business services like UserService and another set that is utility services like EmailService. How the business services connect to the utility services is through NServiceBus. How do you perform integration tests in this scenario? What I've done right now is that I br...
Is it possible to load balance my subscriber worker nodes without using a distributor? Here's what I am thinking:
Instead of having my distributor subscribe to a publication, and having each worker node "report for duty" to handle messages, what if I just put each worker node behind a Virtual IP, and subsrcibe this Virtual IP to the pu...
I have a logical publication which is basically a bunch of MT servers, who all access a DB subscription storage. These MTs are typically upgraded by taking 1/2 out of rotation, installing the new MT version, bringing them back online, and then repeating for the other half.
I am confused how a subscriber would subscribes to such a publi...
What is the best way for a publisher to expose a publication? I would think that it would be just 3 pieces of information:
The schema of the messages
The encoding of the messages
The endpoint where new subscription endpoints can be registered
For #1, I can see this being shared in a number of ways: WSDL, XSD, .cs file, .dll
For #2,...
I'm looking for a step by step example of how to setup and configure the gateway. I'm trying to investigate how we might use this on one of our projects and I'm struggling to find anything other than a high level overview.
This is just conceptual at this point but the likely hood is the we will be using NSB to synchronise data between ...
So I've been tinkering in the last few days with nServiceBus.
Here a few things that I want to know.
How do I get a version that will play nice with .net 4.0? I'm using NServiceBus.2.0.0.1145 which I believe is the lastest but I needed to convert the sample solutions to VS2010 (which works fine) but their target framework is 3.5. Also...
Can anyone point me in the right direction here.
Is it possible to have separate log4net config files for each profile?
In that way I could have a production.log4net.config and a lite.log4net.config?
It would be even more cool if that configuration was on top of the programmatic configuration already build into the generic host.
...
I'm a bit perplexed by an issue I'm getting on a particular deployment, but not
on my build machine. This is a web application that is receiving NServiceBus events to keep
a persistent view model updated. There are events waiting in the services incoming MSMQ, so the
subscription seems to be working correctly, but the application isn't p...
For one of my Subscriber MTs, I need to have multiple implementations of IHandleEvents, as well as allow 3rd parties to specify their own implementations. At application startup, I would like to be able to scan the directory and the config to determine which implementation to use, and then register it to be used for all incoming message...
Hello.
I want to have several buses in one process. I googled about this and found that it is possible only if having several AppDomains. But I cannot make it work.
Here is my code sample (I do everything in one class library):
using System;
using System.Diagnostics;
using System.Reflection;
using MyMessages;
using NServiceBus;
using ...
ASP.NET MVC 2 includes the built in feature of asynchronous controllers. My question is: Is there any benefits on using the asynchronous controllers to send messages to the bus if I'm not waiting for a reply from the bus?
Microsoft states this in their async controller documentation:
In general, use asynchronous pipelines when the f...
Hi guys,
I am new to NServcie bus and Im was trying to implement Publication and subscription of messages .This is the error I'm getting
Exception when starting endpoint, error has been logged. Reason: The destination queue 'mygateway' could not be found. You may have misconfigured the destination for this kind of message (NServiceBu...
I recently moved to using the binary serializer to send messages with NServiceBus. My messages are all defined as interfaces and are instantiated using
bus.Send<MessageType>(msg => msg.Property = someValue)
This leads to an exception being thrown from NServiceBus stating that
Cannot create an instance of an
interface
I can ...
Hi Guys,
I am writing an NServiceBus solution and trying to use DBSubcriptionStorage. This uses NHibernate for data access and I get the following exception:
The partner transaction manager has disabled its support for remote/network transactions
I could enable MSDTC but my question is: where is this requirement coming from and ca...
Hi,
Is there a good free service bus for .Net that allows subscriptions from Java clients?
I'm working with NServiceBus and I like the fluent API and the simplicity, but it doesn't support Java clients or WCF integration for web-service based connections.
Thanks!
...
I am considering using a Network Load Balancer to load balance messages between my subscriber instances, instead of using the NServiceBus distributor (which is basically just a software load-balancer from what I can tell). Each subscriber instance will have a queue of the same name for messages to be delivered to, and there will be a vi...
I am learning about NServiceBus and MSMQ. I was told that transactional queues in MSMQ are BAD and using them is really bad for performance. Does anyone know why? I am guessing this comes from the notion that it uses DTC and everyone knows that the DTC is not really a scalable solution. It seems to me that there are a couple of reaso...
With simple Pub/Sub in NServiceBus, I know that if my subscriber app is not running, then the published messages will just accumulate in the queue until they can be processed. But where do they accumulate if the entire machine is down? Since the message can't even be delivered to my subscriber queue, is there some queue where they sit ...