|
ORE Studio 0.0.4
|
Sends a message to an MQ queue on each job firing. More...
#include <mq_action_handler.hpp>


Public Member Functions | |
| std::string_view | action_type () const noexcept override |
| Returns the action_type string handled by this implementation. | |
| boost::asio::awaitable< std::expected< void, std::string > > | execute (const action_context &ctx) override |
| Execute the action for the given job. | |
Sends a message to an MQ queue on each job firing.
Handles jobs with action_type == "send_mq_message". The action_payload JSON must contain: {"queue_id":"<uuid>","message_type":"<str>","payload":{...}}.
|
overridevirtualnoexcept |
Returns the action_type string handled by this implementation.
Implements action_handler.
|
overridevirtual |
Execute the action for the given job.
Implements action_handler.