I'm looking at addin an Active Declaration of basic exchanges (that is, non-autodelete, non-durable, and without any other fancy option) and would like your input.
The goal is to not need to create specific exchanges when consuming messages from a queue, so that we don't need to orchestrate the creation of the exchanges prior connecting a channel (No need to use RabbitMQTools before waiting for message for instance).
Looking at the simplest signature:
channel.ExchangeDeclare(exchangeName, ExchangeType.Direct);
I suggest that we:
only support this simple signature to avoid overloading the parameter sets
We do not Actively declare if the type is not sepecified (no default type, for backward compatibility and avoid errors)
Hi,
I'm looking at addin an Active Declaration of basic exchanges (that is, non-autodelete, non-durable, and without any other fancy option) and would like your input.
The goal is to not need to create specific exchanges when consuming messages from a queue, so that we don't need to orchestrate the creation of the exchanges prior connecting a channel (No need to use RabbitMQTools before waiting for message for instance). Looking at the simplest signature:
channel.ExchangeDeclare(exchangeName, ExchangeType.Direct);
I suggest that we:
Connect-RabbitMqChannel.ps1
Here's the link to my branch for a potential PR.