I’m on the way to migrating from NServiceBus v5 to v6, and currently using NServiceBus.Host. As changing everything at the same time would be too much risk, I decided to keep using NServiceBus.Host until the migration to v6 is completed. This post is only relevant if you’re using NServiceBus.Host to host your endpoint. NServiceBus.Host for v6 does not register the NServiceBus interfaces (e.g. IMessageSession) on the dependency injection container anymore. During startup of the...
Fixing Assembly BindingRedirects when using NServiceBus.Host
Are you using NServiceBus.Host and after updating some NuGet packages the endpoint refuses to start? Read on for the solution
The particular service platform – Commands and things under the hood
In my last post I showed how to deploy endpoints and to subscribe for events. In this post I’ll cover how to send commands and what ServiceMatrix does for you under the hood. In order to send a command we apply apply almost the same steps as when publishing an event. We create two undeployed components named AscensionManagement (the sender of the command) and RecruitementOffice (the receiver of the command). The command is we want to send is called AscendToHeaven (number 2 in the overview...
The particular service platform – Deploying to endpoints and subscribing for events
In my last post I showed how to create a service and a publisher. In this blogpost I will show how to subscribe to messages and how to deploy components to endpoints. In my blogposts about CompositeUI for Service Oriented Systems I called about services or “things”. I don’t cover that theory here. I encourage you to read those blogposts. Before we can deploy the undeployed component WarehouseRaid we need to create a hosting component for that. This can be done by clicking on...
The particular service platform – ServiceMatrix sample and introduction
In my last post I talked about the particular service platform and how close it is being released. This time I can happily say that it has been released! The particular team did its magic and pushed the whole platform out. You already got a sneak peak at the installation process. This time I will cover ServiceMatrix and show you how easy it is to build a distributed system based on NServiceBus with ServiceMatrix. The sample I will use throughout the blog posts is based on the Hollywood movie...
The particular service platform introduction
You have already heard me talking or at least read a blog post about NServiceBus from me 😉 The next big release from particular software is just around the corner! This time it is not just another version of NServiceBus. No, it is a whole platform or toolset you can use to build up complex distributed systems based on NServiceBus. I give you a brief overview over the platform and then dive into ServiceMatrix. Let’s get started!
Transport, Transport, … MSMQ, RabbitMQ, ActiveMQ with NServiceBus
This is the handout for the presentation I gave at the Basta Conference in Darmstadt. The talk is about different transports available for NServiceBus. Building distributed systems with NServiceBus which only use MSMQ was yesterday. Today we have more possibilities to choose the right transport technology. But how do I decide which transport layer fulfills my functional and non-functional requirements? What is the difference between MSMQ and RabbitMQ? How does a broker based transport...
What factors affect the speed of NServiceBus message processing?
I’ve heard that question a number of times during my projects and consultings I did for several customers. Normally that generic answers can only be properly answered with information about the non-functional requirements and Service Level Agreements a certain project has to fulfill. Without knowing about your specific situation it is generally difficult to give hard numbers about the performance you can expect with a single NServiceBus endpoint. But what exactly can influence the speed...
Book review: Learning NServiceBus
Many of the developers diving into the world of distributed systems are looking for a library or framework, which helps them to get started quickly. Usually they seek a better replacement for their existing Remote Procedure Call Technology. NServiceBus seems to fit into that space and offers a whole new world to discover. However, NServiceBus is more than just a framework! It incorporates in its core many years of experience building distributed systems and has been adopted throughout the globe...
Ninject with NServiceBus confusions
Every now and then people get confused when they try to use the NinjectObjectBuilder for NServiceBus. In this blog post I want to describe the purpose of the NinjectObjectBuilder for NServiceBus and highlight the difference between Ninject and Ninject together with NServiceBus.