- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 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
- 47
- 48
- 49
- 50
// Consumer
$channel->run(
new GracefulHandler(
new LoggingHandler(
new AcknowledgingHandler(
new JsonDecodingHandler(
new ValidatingHandler(
new DbalReconnectingHandler(
new AmqpPublishingHandler(
new Mailman($channel, $exchangeName),
new PrintNodePrinterPool(
new PluginClient(
new HttpClient(),
[new AuthenticationPlugin(new BasicAuth($key, ''))]
),
MessageFactoryDiscovery::find()
),
new DbalBatchFactory(
$connection,
new S3BatchLabelFactory(
new S3Client(
[
'version' => 'latest',
'region' => $region,
'credentials' => [
'key' => $key,
'secret' => $secret,
],
]
),
$bucket,
$logger
),
new LabelFactory(
new GuzzleClient(),
new PickTicketFactory($template, $layouts)
)
)
),
$connection
),
__DIR__ . '/schema.json'
)
)
),
$logger
)
),
$name
);
inkanus-gray 15.07.2017 14:17 # 0
jangolare 15.07.2017 20:38 # 0
Fike 15.07.2017 21:20 # 0
sos 15.07.2017 21:41 # 0
AnalPerOral 16.07.2017 00:57 # 0
Fike 16.07.2017 03:49 # 0
inkanus-gray 17.07.2017 01:12 # 0