sroze / messenger-enqueue-transport

Uses Enqueue with Symfony's Messenger component.
MIT License
191 stars 54 forks source link

ContextManager checks against php-amqp ext's exception #68

Open malarzm opened 5 years ago

malarzm commented 5 years ago

AmqpContextManager::recoverException checks against php-amqp's \AMQPQueueException which makes it not compatible with php-amqplib. It'd be great to either have a generic AmqpContextManager that could deal with both libraries at a time or at least have a sane way to provide our own implementation of ContextManager as right now it requires overriding entire Enqueue\MessengerAdapter\QueueInteropTransportFactory.