You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue: RabbitMQ Job Consumption Fails with Dependency Resolution Exception
Laravel version: 11.35
RabbitMQ version: 3.8.3
Package version: 14.1
Describe the Bug
When attempting to use a job to listen to and consume messages from another application on RabbitMQ, an error occurs during execution. This issue arises when running the job from a class in a separate Laravel service. Specifically, two Laravel services are involved in this scenario.
Steps to Reproduce
Configure RabbitMQ queue connection across both Laravel services as follows:
Issue: RabbitMQ Job Consumption Fails with Dependency Resolution Exception
Describe the Bug
When attempting to use a job to listen to and consume messages from another application on RabbitMQ, an error occurs during execution. This issue arises when running the job from a class in a separate Laravel service. Specifically, two Laravel services are involved in this scenario.
Steps to Reproduce
Configure RabbitMQ queue connection across both Laravel services as follows:
Add the Job class to consume the message from the other service:
RabbitMQJob Class
ProcessRabbitMQMessageJob Class
Current Behavior
The dispatched job fails with the following exception:
Expected Behavior
The job should successfully dispatch the event in the
handle
method of theProcessRabbitMQMessageJob
class.Additional Context
laravel-2024-12-26.log
The text was updated successfully, but these errors were encountered: