Author Archives: Andreas Öhlund

NServiceBus v4 – Beta1 is out

I just want to let you know that we released the first beta of the upcoming v4 of NServiceBus last friday. The main focus for v4 has been to make NServiceBus run on a wider range of queuing infrastructures while still giving you the same developer experience. Out of the box v4 will support ActiveMq, [...]

Posted in NServiceBus | Comments closed

Pluralsight interview

I was interviewed by the good folks over at Pluralsight a few weeks ago and the result is now online. If you’re interested in a few war stories from my dark past and also a glimpse into what’s coming up in NServiceBus vNext you can listen to the full interview here: http://blog.pluralsight.com/2012/12/04/meet-the-author-andreas-ohlund-on-introduction-to-nservicebus/    

Posted in NServiceBus | Comments closed

Monitoring your dead letter queues

NServiceBus relies heavily on the underlying queuing system to make sure that messages gets delivered in a robust and timely fashion. In order to spot miss configurations it’s very important to monitor the dead letter queues (DLQ’s). You can think of the dead letter queue as a dumping ground for messages that can’t be delivered by the queuing system. This post focus on MSMQ [...]

Posted in Messaging, NServiceBus, Ops | Comments closed

How to debug RavenDB through fiddler using NServiceBus

This is mostly a note to self since I always seems to forget how to do it:) To setup a NServiceBus endpoint to make all calls to RavenDB through fiddler you need to do the following: Configure the proxy for your endpoint by adding the following to your app.config With the proxy setup we just [...]

Posted in NServiceBus | Comments closed

What message should start a saga?

One common mistake people do when building sagas is being to restrictive when it comes to defining the messages that are allowed to start a saga. NServiceBus allows you to have multiple messages start given saga for a very good reason. I’ve touched on this subject in a previous post about ordering of messages. Lets revisit the underlying reason [...]

Posted in Best practices, Messaging, NServiceBus | Comments closed

Video on how to use message mutators

PluralSight has been kind to publish the episode in my course where I go through how message mutators works in NServiceBus. Enjoy!  

Posted in NServiceBus, Video | Comments closed

Disabling Second Level Retries for specific exceptions

NServiceBus supports two different types of retries, first level retries (FLR) that happens immediately by bouncing the message back to the top of the input queue and Second Level Retries (SLR) that happens after a configurable amount of time. In short the FLR aims to solve any transient exceptions like deadlocks while SLR solves more [...]

Posted in In depth, NServiceBus | Comments closed

NServiceBus sagas and concurrency

The question on how the NServiceBus sagas handle concurreny came of on stackoverflow and my answer got long winded and turned into a blog post. If your endpoints is running with more than 1 worker thread there is the possibility that multiple messages will hit the same saga instance at the exact same time. To [...]

Posted in NServiceBus, Sagas | Comments closed

Introduction to NServiceBus is now available on Pluralsight

My introductory NServiceBus course for Pluralsight is finally live. It’s about 4 hours of content that will get you up to speed with NServiceBus and walk you through how to build message driven systems using a service bus like NServiceBus. The amount of time spent on recording and edit it could be compared to your average IT-project, initial estimation * PI [...]

Posted in NServiceBus | Comments closed

Zero downtime deployments

Zero downtime “deployments” or “upgrades” if you like, roughly the same number of hits on google, is that thing that every one says they are doing but when asked about how they are actually doing it there is usually not a clear answer. Lets try to digg a bit deeper into the concept. By definition [...]

Posted in Uncategorized | Comments closed