Adam Honoré

Results 39 comments of Adam Honoré

> Sorry 😛 Here's my complete setup code for Rebus: ```csharp serviceCollection.AddRebus( (configure, services) => { var rabbitMqSettings = services.GetRequiredService(); var sslSettings = new SslSettings( rabbitMqSettings.ConnectionString.StartsWith( "amqps://", StringComparison.OrdinalIgnoreCase ), new...

@simongullberg, the default `RabbitMQ.Client.ConnectionFactory` has `AutomaticRecoveryEnabled` set to `true` by default, and uses a `RabbitMQ.Client.Framing.Impl.AutorecoveringConnection` - I would have assumed that this would catch these kind of errors, and reestablish...

@simongullberg seems like your solution won't work in this case. I just tried implementing a custom `IConnectionFactory` and using it, but it only gets triggered when a new connection is...

@mookid8000 not really sure what the best approach is here. I did some more digging, and seems like `Rebus.RabbitMq.RabbitMqTransport` is calling `RabbitMQ.Client.Impl.AutorecoveringModel.BasicPublish(...)` before the connection has been recovered. Debugging into...

The only way I see to solve this at the moment, is to wrap all calls to `IBus` in a try/catch, one way or another, and catch (AlreadyClosedException exception) when...

> Thank you for this enhancement proposition, we'll consider whether to implement it. > > As a general comment, we are approaching the available capacity on the ESP32 version we're...

I'm aware that some code changes might be needed, for example extracting the new logic in `is_on(self)` to separate methods. I just wanted to get some feedback on my code...

I've done some cleanup of the code and extracted the new logic to separate methods. I hope maybe @frenck will get some time to look at it at some point...

@frenck any chance you can take a look at my PR?