ReScheduling the job to Default Queue despite it is being set in another Queue

Do this instead.

var result = client.Enqueue(() => JobProcessor.Execute(value));

If you are concerned that you cannot put the queue name, you can actually put the queue name as an attribute in the JobProcessor.Execute

[Queue("specificqueue")]
public static void Execute(object value){
    ....
}
1 Like