If you are using this with a queue, you should rather use this solution:
Modifying the from-queue context may not be a good idea.