'Laravel RabbitMQ with dynamic routing key

I'm using https://github.com/vyuldashev/laravel-queue-rabbitmq library for rabbitMQ connection with Laravel.

Is there any way to dynamically set 'exchange_routing_key' when generating Job record?

Many thanks in advance.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source