Hi everyone,
We’ve just released NServiceBus.MessagingBridge 4.0.1.
Improvements/Features
- #516 Make
TranslateReplyToAddressForFailedMessages
the default behaviour - #118 Enable the Bridge to shovel messages one-way
Fixed bugs
- #522 Messages generated before a change of transport are not transferred
How to know if you are affected
You are affected if you are processing messages from endpoints which have changed to a different transport since the message was generated.
Symptoms
The messages are moved to the bridge error queue and an exception is logged similar to:
System.Exception: Failed to shovel message for endpoint <endpoint-name> with id <message-id> from <source-transport> to <target-transport>
---> System.Exception: No target address mapping could be found for source address: <physical-on-the-source-transport>. Ensure names have correct casing as mappings are case-sensitive. Nearest configured match: <some-other-physical-address-on-the-source-transport>
at EndpointRegistry.TranslateToTargetAddress(String sourceAddress) in /_/src/NServiceBus.MessagingBridge/EndpointRegistry.cs:line 67
at MessageShovel.TransformRegularMessageReplyToAddress(TransferContext transferContext, OutgoingMessage messageToSend, IEndpointRegistry targetEndpointRegistry) in /_/src/NServiceBus.MessagingBridge/MessageShovel.cs:line 105
at MessageShovel.TransferMessage(TransferContext transferContext, CancellationToken cancellationToken) in /_/src/NServiceBus.MessagingBridge/MessageShovel.cs:line 76
--- End of inner exception stack trace ---
at MessageShovel.TransferMessage(TransferContext transferContext, CancellationToken cancellationToken) in /_/src/NServiceBus.MessagingBridge/MessageShovel.cs:line 76
at NServiceBus.Transport.SqlServer.ProcessStrategy.TryHandleMessage(Message message, TransportTransaction transportTransaction, ContextBag context, CancellationToken cancellationToken) in /_/src/NServiceBus.Transport.SqlServer/Receiving/ProcessStrategy.cs:line 53
at NServiceBus.Transport.SqlServer.ProcessWithNativeTransaction.TryProcess(Message message, TransportTransaction transportTransaction, ContextBag context, CancellationToken cancellationToken) in /_/src/NServiceBus.Transport.SqlServer/Receiving/ProcessWithNativeTransaction.cs:line 119
When to upgrade
You should upgrade immediately if you are affected. Otherwise, you should upgrade during your next maintenance window.
Refer to the upgrade guide when upgrading.
Where to get it
You can install NServiceBus.MessagingBridge 4.0.1 from NuGet.
Please read our release policy for more details.
With thanks,
The team in Particular