Skip to content

Commit 3e0faa3

Browse files
author
Bogdan Rancichi
committed
[fix] added method call to idletimeout_exit_code
1 parent 938d944 commit 3e0faa3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

DependencyInjection/OldSoundRabbitMqExtension.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,10 @@ protected function loadBatchConsumers()
383383
))
384384
;
385385

386+
if (isset($consumer['idle_timeout_exit_code'])) {
387+
$definition->addMethodCall('setIdleTimeoutExitCode', array($consumer['idle_timeout_exit_code']));
388+
}
389+
386390
if (isset($consumer['idle_timeout'])) {
387391
$definition->addMethodCall('setIdleTimeout', array($consumer['idle_timeout']));
388392
}

0 commit comments

Comments
 (0)