AD0-E716 practice question 3 of 15
A message queue currently has queue/consumer-wait-for-messages set to true, which allows the consumer process to run until a message is inserted into…
Choose your answer, then check it against the explanation.
A message queue currently has queue/consumer-wait-for-messages set to true, which allows the
consumer process to run until a message is inserted into the queue. A piece of functionality is driven
by data stored in the model
\Magento\variable\Model\variable and this value is only loaded once during the consumer run. If
the variable is updated we want the consumer to restart so that the new value is loaded into
memory without having to reload the variable on each message consumed.
The Adobe Commerce developer has created an after plugin on the
\Magento\Variable\Model\variable:: save() function.
How would the developer use the plugin to trigger the consumer restart?
Question 3 of 15
Keep practicing
Take the free AD0-E716 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other AD0-E716 practice questions
- Question 1An Adobe Commerce developer is being tasked with creating a new cron job to run a method …
- Question 4An Adobe Commerce Cloud developer wants to be sure that, even after transferring database…
- Question 5What are two features with Adobe Commerce Cloud that come out of the box? (Choose Two.)
- Question 7An international merchant is complaining that changes are taking too long to be reflected…
- Question 8A developer is working on an Adobe Commerce Cloud project and wants to get connection dat…
- Question 9An integration named Marketing is created on the Adobe Commerce instance. The integration…
