-
Notifications
You must be signed in to change notification settings - Fork 1
Configuration
Andrew edited this page Jul 3, 2018
·
4 revisions
Config:
[
'pidDir' => '/var/www/Projects/test/AMQP-queue/runtime',
'amqp' => [
'host' => 'rmq.dzensteam.com',
'port' => 5672,
'vhost' => '/test',
'user' => 'admin',
'pass' => 'time',
'persisted' => false,
'connection_timeout' => 10000,
],
'consumers' => [
[
'name' => 'test',
'enabled' => true,
'queue' => 'test',
'router' => [
'delSteamFriend' => [
\Davislar\AMQP\tests\TestAction::class,
\Davislar\AMQP\tests\Test2Action::class
]
]
]
],
'messengers' => [
[
'class' => ConsoleHandler::class,
'config' => [
'levels' => [
MassageHandler::VERBOSE_NOTICE,
MassageHandler::VERBOSE_LOG,
MassageHandler::VERBOSE_ERROR,
MassageHandler::VERBOSE_WARNING
]
]
]
]
]