What I found so far, that it is possible to install RawRabbit.Enrichers.Attributes
package and configure message class with attributes:
[Queue(Name = "my_queue"]
private class AttributedMessage
{
}
and set
var client = RawRabbitFactory.CreateSingleton(new RawRabbitOptions
{
Plugins = plugin => plugin.UseAttributeRouting()
});
But I would rather want to specify queue name along with publish command to keep it more flexible:
await _busClient.PublishAsync(message /*some_config_here???*/);
Is it possible with RawRabbit 2.0.0-rc5?