RetryLater: Channels not closing
We have an application with services using 1.10.2 and encounter a growing number of channels. It seems that the services that use RetryLater cause this effect.
Trying to track down the problem, we noticed that every time a message is sent to the retry-queue, a new channel is opened and closed again. But the next time a regular message is processed an additional channel is being opened.
What could we do to prevent the creation of these channels?
Hello, @mbinot - thanks for reporting this. Have you tried to upgrade to 1.10.3 and see if the problem still occurs?
Thank you for the quick response. We did try using 1.10.3, but the problem remained.
The same occurs in 1.10.4. Is there any chance to merge @mbinot fix ?
Thanks for checking in. The 1.x version of RawRabbit is no longer under active development.
At the first glance of the fix, it should be OK. There is no current plans of releasing 1.10.5 - would it be an option to migrate to 2.0? If not, it should be possible to derive an custom ContextEnricher and register it as a internal service for RawRabbit.