Queue PoolEdit on GitHub
Queue pool is designed to allow P&S (Publish and Synchronization) messages to be sent to several queues.
Queue pools are defined with unique names in
<?php ... 'currencyIsoCodes' => ['EUR', 'CHF'], 'queuePools' => [ 'synchronizationPool' => [ 'AT-connection', 'DE-connection', ], 'fooPool' => [ 'DE-connection', 'US-connection', ] ], 'storesWithSharedPersistence' => ['AT'], ]; ...
Messages must be prepared for sending to queue pools. You can do it by setting the
QueuePool property for the
<?php ... $queueSendTransfer = new QueueSendMessageTransfer(); $queueSendTransfer->setQueuePoolName('fooPool'); $queueClient->sendMessage('mail', $queueSendTransfer); ...
In this example, the message is configured to be sent to mail queue in DE and US store queues.
For submitting the form