Category Archives: In depth

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 [...]

Also posted in NServiceBus | Comments closed

Sagas and autocorrelation

Sagas often plays the role of coordinator, especially when used in integration scenarios. In essence this mean that the saga decides what to do next and then asks some one else to do it. This allows you to keep your sagas free from interacting with no transactional things like file systems, rest services, etc. The type of communication pattern [...]

Also posted in Best practices, NServiceBus | Comments closed

Advanced pipeline management using message mutators

The message pipeline in NServiceBus 2.X pretty much consisted of what we called message modules. They served their purpose but didn’t quite give you the full control over the message pipeline needed to do more advanced things. Another major shortcoming was that there was no way to hook into the pipeline at the sending/client side [...]

Also posted in NServiceBus | Comments closed