github Particular/NServiceBus 4.3.0

latest releases: 9.1.2, 8.2.4, 7.8.6...
10 years ago

This release consist of these issues that were achieved through these commits.

Features

#1732 Support disconnecting workers from a running distributor

Add the ability to send a control message to the distributor telling it to disconnect a given worker. When a worker is disconnected no work will be sent to it and ready messages for that worker will be ignored until it reconnects with a new "worker-session-id".

Improvements

#1767 Obsolete UnicastBus.SkipDeserialization

Users should be writing satellites instead.

#1748 Exception rethrow reset stacktrace causing debugging difficulty

Exception patching is required before rethrowing

#1746 Schedule Reflection/ExtensionMethods for removal

To avoid polluting CLR types with our own convenience extension methods.

#1720 Simplify the license validation

To make it easier for users we should skip checking binary versions and instead do:

  1. Add release date into the binaries as an assmbly attribute
  2. Modify the check to: if UpgradeProtectionExpiryDate>= Now OR UpgradeProtectionExpiryDate >= ReleaseDateOfBinaries => ok

#1709 Upgrade to Autofac 3.1.5

#1630 EncryptionMessageMutator is slow due to reflection

Bugs

#1822 ExpiryChecker.IsExpired doesn't work well with royalty free licenses

Royalty free license has an expiry date of 31/12/9999 12:00:00 AM
After adding the one day grace period, an OutOfRangeException is thrown by ExpiryChecker.IsExpired

#1821 Request Response between sites is not finding the registered callback

Due to message CorrelationId not being sent

#1820 Bus.Defer does not work when passed a date time with DateTime.Now.AddSeconds

Due to the use of local time instead of universal time.

#1819 When using unobtrusive mode, saga timeouts are triggered, it does not find the TimeoutHandlers and instead SagaNotFound handlers are invoked

Due to the static ExtensionMethods.CurrentMessageBeingHandled not being correctly handled int he pipeline

#1818 NullReferenceException after enabling gateway without gatewayconfig in app.config

Due to a missing null check on GatewayConfig

#1813 Incorrectly shutting down of the pipeline

Causing ObjectDisposedException

#1810 Installing host throws exception

Due to incorrect Dispose order

#1801 Broke disabling and enabling message handling in UnicastBus.DisableMessageHandling

#1788 Bus.InMemory events now expect either unobtrusive conventions or IEvent interface markers

#1787 Headers not taken from correct location when doing an Bus.InMemory.Raise

#1759 Ilmerge not correctly updating pdbs

Caused difficulty debugging and stepping through NServicebus assemblies

#1752 Control Messages causing deserialization exception

Due to incorrectly attempting to deserialization them.

Will now skip deserialization and continue the pipeline.

#1737 MessageMapper.Initialize NullReferenceException due to incorrect treatment of generic types

If in the domain the following abstract class is defined, the bus will during the startup cause a NullReferenceException

#1690 Powershell Test-NServiceBusDTCInstallation incorrectly reports true on Windows 2003

Due to incorrect registry entry being checked

#1678 Stack corruption due to exception in 3rd party exception class

If a message handler throws an Exception whose Message property throws an Exception then NServiceBus.Host.exe crashes with a corrupted stack. This causes the endpoint to crash.

#1652 Unable to subscribe for a base event from multiple publishers.

#978 Worker restarts can cause extra ready messages in the distributor storage

Where to get it

You can download this release from:

Don't miss a new NServiceBus release

NewReleases is sending notifications on new releases.