Skip to content

1.1.0

Choose a tag to compare

@andreasohlund andreasohlund released this 13 Dec 07:46
· 2123 commits to master since this release

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

Improvements

#16 Update the RabbitMQ 3.2.1

#4 Only implicitly create exchanges for types being published. Limit queue ...

Raised by @fhalim
Migrated from by Particular/NServiceBus#1352

Background

We are having a non-NServiceBus endpoint integrate with an NServiceBus endpoint over RabbitMQ. The non-NServiceBus endpoint application creates a temporary queue/exchange pair for itself, does the equivalent of a Bus.Send to the NServiceBus endpoint, expecting a response on the temporary exchange. However, when the NServiceBus endpoint does Bus.Reply, it first tries to create a queue/exchange pair for the recipient and fails because they have already been created, but are temporary instead of permanent.

Fix

This change makes it so that Bus.Send and Bus.Reply do not implicitly attempt to create queue/exchange pairs for the recipient. Only exchanges for the types being published are created implicitly.

Impact

  • If the recipient of a Bus.Send or a Bus.Reply does not exist, this will raise an exception. This behavior is in line with the MSMQ endpoint and I think is what we'd expect when we send a command to an endpoint. Queues will only get created by the subscribers that read from them.
    Content trimmed. See full issue

#3 Better exception handling in RabbitMQ ConnectionStringParser

Raised by @SimonCropp
Migrated from by Particular/NServiceBus#1452

  • the catch was redundant since the message can be derived from the stack trace
  • it did not add the inner exception which would obscure the debugging experience

Fixed here Particular/NServiceBus@f3d93a4

Where to get it

You can download this release from: