1 code examples of PHP Oro\Component\MessageQueue\Exception\MessageProcessorNotSpecifiedException extracted from open source projects

Was this example useful?
0
                                                    /**
     * @inheritdoc
     */
    public function process(MessageInterface $message, SessionInterface $session): string
    {
        if ($this->missingMessageProcessorName) {
            throw MessageProcessorNotFoundException::create($this->missingMessageProcessorName);
        }

        throw MessageProcessorNotSpecifiedException::create();
    }
                                            
MessageProcessorNotSpecifiedException's Other Methods
MessageProcessorNotSpecifiedException's Other Methods