Book Image

Learning NServiceBus Sagas

By : Richard L Helton
Book Image

Learning NServiceBus Sagas

By: Richard L Helton

Overview of this book

Table of Contents (13 chapters)

Upgrading from NSB version 4 to 5


In the later part of September 2014, NServiceBus introduced version 5.0, an upgrade from version 4.x. NSB version 5.0 requires different coding techniques. Currently, NSB is in version 5.02, which offers many features. These are as follows:

  • Non-DTC operations: These support durable messaging in cloud queues and other queuing systems, such as RabbitMQ, which do not support local transaction management. Version 5 has been modified to provide additional support for integration into Windows Azure queues.

  • ISendOnlyBus: This simplifies the ability to create a configuration just for the purpose of sending messages only to the bus. The function used will look like this: var bus = Bus.CreateSendOnly(configuration).

  • Bus.Create(new BusConfiguration()): The bus configuration in version 5.0 is different from version 4 as it supports the bus configuration object that is passed around through functions, as there can be different bus configurations used for different reasons...