Log in
Model

Publisher

Magento\ProductAlert\Model\Mailing\Publisher

What it does

This class publishes product alert mailing operations to Magento's message queue system for asynchronous processing.

Developers use it to schedule bulk email notifications for price alerts and stock alerts to customers, breaking large customer lists into manageable chunks (default 5000) to prevent system overload.

It's typically called by cron jobs or admin actions that trigger product alert notifications.

Public Methods

  • execute()