123456789101112131415161718192021 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Framework\MessageQueue;
- /**
- * Producer to publish messages in bulk via a specific transport to a specific queue or exchange.
- */
- interface BulkPublisherInterface
- {
- /**
- * Publishes messages in bulk to a specific queue or exchange.
- *
- * @param string $topicName
- * @param array|object $data
- * @return null|mixed
- */
- public function publish($topicName, $data);
- }
|