-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmaks-amqp-agent-config.php
46 lines (38 loc) · 1.88 KB
/
maks-amqp-agent-config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?php
namespace MAKS\AmqpAgent\Config;
use MAKS\AmqpAgent\Config\AmqpAgentParameters;
return [
// Global
// Start of static/constant class properties. specific to AMQP Agent.
// Only for reference, modifying them won't change anything.
'prefix' => AmqpAgentParameters::PREFIX, // default
// If you want to modify command* use ClassName::$variableName.
'commandPrefix' => AmqpAgentParameters::COMMAND_PREFIX,
'commandSyntax' => AmqpAgentParameters::COMMAND_SYNTAX,
// End of static/constant class properties. specific to AMQP Agent.
// AbstractWorker
'connectionOptions' => AmqpAgentParameters::CONNECTION_OPTIONS,
'channelOptions' => AmqpAgentParameters::CHANNEL_OPTIONS,
'queueOptions' => AmqpAgentParameters::QUEUE_OPTIONS,
// Publisher
'exchangeOptions' => AmqpAgentParameters::EXCHANGE_OPTIONS,
'bindOptions' => AmqpAgentParameters::BIND_OPTIONS,
'messageOptions' => AmqpAgentParameters::MESSAGE_OPTIONS,
'publishOptions' => AmqpAgentParameters::PUBLISH_OPTIONS,
// Consumer
'qosOptions' => AmqpAgentParameters::QOS_OPTIONS,
'waitOptions' => AmqpAgentParameters::WAIT_OPTIONS,
'consumeOptions' => AmqpAgentParameters::CONSUME_OPTIONS,
// Start of constant class properties.
// Only for reference, modifying them won't change anything
'ackOptions' => AmqpAgentParameters::ACK_OPTIONS,
'nackOptions' => AmqpAgentParameters::NACK_OPTIONS,
'getOptions' => AmqpAgentParameters::GET_OPTIONS,
'cancelOptions' => AmqpAgentParameters::CANCEL_OPTIONS,
'recoverOptions' => AmqpAgentParameters::RECOVER_OPTIONS,
'rejectOptions' => AmqpAgentParameters::REJECT_OPTIONS,
// End of constant class properties.
// RPC Endpoints
'rpcConnectionOptions' => AmqpAgentParameters::RPC_CONNECTION_OPTIONS,
'rpcQueueName' => AmqpAgentParameters::RPC_QUEUE_NAME,
];