I have to enqueue jobs using the BackgroundJobClient.Create function because I need to set the queue at runtime.
If a job needs to be rescheduled, it’s put into the DEFAULT queue, instead of the queue it was originally enqueued to (which is what I would expect).
The suggested workaround mentioned in thread ReScheduling the job to Default Queue despite it is being set in another Queue does not work for me, as I can’t declare the queue name with the queue attribute (queue is defined at runtime).
I’m using SQL job queues, if that matters…
Do you plan on fixing this behaviour in a future release?
Edit: I’ve just noticed there’s already an issue on GitHub for it, so just consider this as a vote for fixing it (I might even have a look at it, when I have some time to spare…): https://github.com/HangfireIO/Hangfire/issues/406