New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DelayedRedelivery with a Consumer factory #1063
Comments
There is a way, but it isn't obvious how to use it. Let me think about this one and see if I can make it easier. |
…changeRedelivery without knowing message types #1063
So I added extensions to support this, which work for consumers and sagas. |
Much appreciated @phatboyg , this is exactly what i was looking for! We will test it in our solution today and apply it as soon as it moves to release. |
Hello @phatboyg , there seems to be an issue with the new extensions + the non-generic consumer, the retries never occurs:
When I switch to Update: Same issue with UseInMemoryScheduler + UseScheduledRedelivery. |
This should be fixed in develop, will be released at the next version (might be 5.x instead of 4.1, but whatever). |
There was more work required for this to work, and it's coming. |
Thank you @phatboyg , we really appreciate the time you are spending on this issue! |
The latest develop should have this all sorted out now. There is a new extension methods to setup retry inside of redelivery.
This properly nestes retry inside of redelivery. |
I'm a bit confused, should we replace .UseDelayedRedelivery(..) by .UseMessageRetry(..) ? |
If you want both retry and redelivery you need to use both in the order I specified above. |
Hi,
Sorry if this is the wrong communication channel, I first posted on the google group but my post seems to have disappeared.
We would like to implement a retry process for our queues. We are looking to run retries with long delays (~1 hour) so non-blocking jobs are required.
From what I read DelayedRedelivery is the way to achieve that in masstransit?
I found a few examples on these topics about how to use DelayedRedelivery like this one: #646
however I was not able to apply the UseScheduledRedelivery to test it by myself: we are using the non-generic .Consumer() method on our endpoints, and there is no configuration parameter available.
Here is our code:
Is there another way to apply this configuration (maybe from the IConsumer) ?
Thanks for your help.
The text was updated successfully, but these errors were encountered: