nservicebus

What tools do you use to implement SOA/Messaging?

NServiceBus and MassTransit are two tools that can be used to implement messaging with MSMQ and other message queues. I find that once you start using messaging to have applications talk to each other, you don't really want to go back to the old RPC style. My question is, what other tools are out there? What tools do you use? ...

What is an Empty interface used for

I am looking at nServiceBus and came over this interface namespace NServiceBus { public interface IMessage { } } What is the use of an empty interface? ...

Implementing subscriber / publisher system with MSMQ with dynamic endpoints

I'm trying to create a feedback system which all messages get posted to then published back to the correct subsystem. We are using queues quiet heavily and i want to make the subscriber code as clean as possible. I want to switch based off the message id i get into the feedback system and publish to its specific subscriber. i don't want ...

How can I share message classes across applications when using NServiceBus?

So I have two separate applications that I want to send messages between. I happen to be using NServiceBus, but that shouldn't really matter. How do I send a message from application A to application B and have them both be aware of the same contract? So app A has a class SecretMessage... public class SecretMessage : IMessage { pu...

nServiceBus, Rhino Service Bus, MassTransit - Videos, Demos, Learning Resources

Hey people would love to hear about any resources you have or know about for nServiceBus, Rhino Service Bus and MassTransit. Videos? Blog posts? Books? Demo Projects etc ...

Subscribing to a message from multiple publisher in nServiceBus

I wonder if it’s possible using nServiceBus to subscribe to all Messages of a Type without specifying the publisher’s end point. The Background for this, is a distributed algorithm, that uses the distributor infra structure of nServiceBus to delegate sub problems to distributed workers on the network. After a task is finished, the ...

NServiceBus Delayed Message Processing

I have an NServiceBus application for which a given message may not be processed due to some external event not having taken place. Because this other event is not an NSB event I can't implement sagas properly. However, rather than just re-queuing the message (which would cause a loop until that external event has occurred), I'm wrappi...

Bridge NSB over WCF

I am trying to publish a WCF service that sends to a NSB host. I have looked at the WebServiceBridge example in the NSB samples but cannot figure out how to use the NServiceBus.WcfService class in the WCF counterpart. I have found out that I can have my service interface inherit one or more IWcfService < TRequest, TResponse >, but since...

When installing a Generic Host as a service in NServiceBus, how do I provide valid credentials?

Imagine I create a .bat file in the following directory: \trunk\Samples\PubSub\ @ECHO OFF ECHO installing Subscriber 1 Subscriber1\bin\Debug\NServiceBus.Host.exe /install pause ECHO installing Subscriber 2 Subscriber2\bin\Debug\NServiceBus.Host.exe /install pause ECHO starting Subscriber services net start Subscriber1.EndPointConfig_v...

How can I enable logging for an NServiceBus Generic Host

I didn't want to make the title too long but this question specifically refers to running an NServiceBus Generic Host as a Windows Service (thanks to TopShelf) configured to run as Local System (on a Vista machine) In a previous question I explain why I decided to adapt the PubSub sample to run as a Windows Service so that I can easily ...

NServiceBus and NHibernate - Message Handler and Transactions

From my understanding NServiceBus executes the Handle method of an IMessageHandler within a transaction, if an exception propagates out of this method, then NServiceBus will ensure the message is put back on the message queue (up X amount of times before error queue) etc.. so we have an atomic operation so to speak. Now when if I inside...

nServiceBus vs Mass Transit vs Rhino Service Bus vs other?

Just doing some quick spikes into possibly using a messaging system to process files that are in a nicely decoupled work flow system. What are the pro's and cons that people have found of using each of the above frameworks? What are the advantages of using these versus a hand-rolled MSMQ system with the WCF bindings and/or non-MSMQ solu...

NServiceBus MSMQ Send question

I have trouble sending a message via NServiceBus. I have an ASP.Net MVC web app, developing on Win7 x64, I have configured my web.config as <MsmqTransportConfig InputQueue="worker" ErrorQueue="error" NumberOfWorkerThreads="1" MaxRetries="5" /> <UnicastBusConfig> <MessageEndpointMappings> <add Messages="...

Cofiguring an endpoint to act both as worker and subscriber

Is it possible to configure an endpoint to act as a worker retrieving jobs from a distributor AND subscribe to some kind of messages? I have the following scenario ( adapted to sale terminology) *) a central department publishes every now and then a list of the new prices. All workers have to be notified. That means, a worker should s...

NServiceBus Listener Missing Messags

I am just starting to play with nservice bus and am trying to get publishing working. I have a listener which seems to be missing some messages. It is configured with <MsmqTransportConfig InputQueue="InformMessages" ErrorQueue="error" NumberOfWorkerThreads="5" MaxRetries="5" /> Interestingly if I set NumberOfWorkerThreads...

can nServiceBus be integrated into Winform?

I see all sample from nServiceBus to be a standalone process, so can it be integrated with winform? if yes, where can i find samples? ...

NServicebus Message Handler Lifecycle in IOC StructureMap

What is the required IOC instance lifecycle I need to use in conjuction with a NServiceBus message handler if I want an instance per message handled. PerRequest won't work, since given the numerous constructor dependenices and dependency graph I have, it gives me many instances when I require only one per Handle(MessageX msg) call. I ca...

Permissions error accessing NServiceBus MSMQ from MVC .Net

I have written a mvc that uses nservicebus to publish messages. This works fine under Cassini. When trying to use IIS, I receive an error message when I call Create() to create the Bus. Access to Message Queuing system is denied. Description: An unhandled exception occurred during the execution of the current web request. Please review...

Getting the NServiceBus Distributor Sample To Work

Hi, I'm trying to use the Distributor in the NServiceBus FullDuplex sample but I can't get it working. I've been following the this guide Getting the NServiceBus Distributor Working, but it doesn't work. There are two problems, one the distributordatabus isn't being created I think the Distributor should create this one. This is the er...

handling timeouts with NServiceBus

i know that i can implement a message in NServiceBus with the TimeToBeReceived attribute but does nservicebus has an infrastructure facilities for executing an event-handler when the sent message was not received after the configured time in the TimeToBeReceived attribute? ...