Skip to content

[bundle] It is not possible to use client's producer in a cli event, for example on exception #177

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
makasim opened this issue Aug 24, 2017 · 0 comments · Fixed by #183
Closed
Labels

Comments

@makasim
Copy link
Member

makasim commented Aug 24, 2017

jmw_1       | cnsmr3 | [error] Consuming interrupted by exception
jmw_1       | cnsmr3 | [error] [RejectMessageOnExceptionExtension] The message has been rejected
jmw_1       | cnsmr3 | 
jmw_1       | cnsmr3 |                                                     
jmw_1       | cnsmr3 |   [AMQPChannelException]                            
jmw_1       | cnsmr3 |   Could not create exchange. No channel available.  
jmw_1       | cnsmr3 |                                                     
jmw_1       | cnsmr3 | 
jmw_1       | cnsmr3 | Exception trace:
jmw_1       | cnsmr3 |  () at /jobs_dev/apps/jm/vendor/enqueue/amqp-ext/AmqpProducer.php:89
jmw_1       | cnsmr3 |  AMQPExchange->__construct() at /jobs_dev/apps/jm/vendor/enqueue/amqp-ext/AmqpProducer.php:89
jmw_1       | cnsmr3 |  Enqueue\AmqpExt\AmqpProducer->send() at /jobs_dev/apps/jm/vendor/enqueue/enqueue/Client/Amqp/AmqpDriver.php:59
jmw_1       | cnsmr3 |  Enqueue\Client\Amqp\AmqpDriver->sendToRouter() at /jobs_dev/apps/jm/vendor/enqueue/enqueue/Client/Producer.php:79
jmw_1       | cnsmr3 |  Enqueue\Client\Producer->sendEvent() at /jobs_dev/apps/jm/src/Infra/Error/ErrorCollector.php:63
jmw_1       | cnsmr3 |  App\Infra\Error\ErrorCollector->onCliException() at n/a:n/a
jmw_1       | cnsmr3 |  call_user_func() at /jobs_dev/apps/jm/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:104
jmw_1       | cnsmr3 |  Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke() at n/a:n/a
jmw_1       | cnsmr3 |  call_user_func() at /jobs_dev/apps/jm/vendor/symfony/event-dispatcher/EventDispatcher.php:212
jmw_1       | cnsmr3 |  Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() at /jobs_dev/apps/jm/vendor/symfony/event-dispatcher/EventDispatcher.php:44
jmw_1       | cnsmr3 |  Symfony\Component\EventDispatcher\EventDispatcher->dispatch() at /jobs_dev/apps/jm/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:146
jmw_1       | cnsmr3 |  Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch() at /jobs_dev/apps/jm/vendor/symfony/console/Application.php:910
jmw_1       | cnsmr3 |  Symfony\Component\Console\Application->doRunCommand() at /jobs_dev/apps/jm/vendor/symfony/console/Application.php:228
jmw_1       | cnsmr3 |  Symfony\Component\Console\Application->doRun() at /jobs_dev/apps/jm/vendor/symfony/framework-bundle/Console/Application.php:81
jmw_1       | cnsmr3 |  Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /jobs_dev/apps/jm/vendor/symfony/console/Application.php:130
jmw_1       | cnsmr3 |  Symfony\Component\Console\Application->run() at /jobs_dev/apps/jm/bin/console:33
jmw_1       | cnsmr3 | 
jmw_1       | cnsmr3 | enqueue:consume [--message-limit MESSAGE-LIMIT] [--time-limit TIME-LIMIT] [--memory-limit MEMORY-LIMIT] [--setup-broker] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command> [<client-queue-names>]...
jmw_1       | cnsmr3 | 
jmw_1       | cnsmr3 | Restarting stopped child process cnsmr3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant