/** * Adds the message queue manager object to the context * * @param \Aimeos\MShop\Context\Item\Iface $context Context object * @return \Aimeos\MShop\Context\Item\Iface Modified context object */ protected function addMessageQueueManager(\Aimeos\MShop\Context\Item\Iface $context) { $mq = new \Aimeos\MW\MQueue\Manager\Standard($context->getConfig()); $context->setMessageQueueManager($mq); return $context; }