Send Messages to a Target Component Translators
message.send{}
can be used as an alternative method of sending messages to queue.push. Instead of using component’s queues, you can send messages directly to a component’s Translator main function to be processed.
message.send{data=“message”, target=“LLPclient_h89rHdSf23”}
This means:
The message is only available to the target component.
The message bypasses the queue, making it a fast alternative (no I/O required to write messages to the journal file or queue). However, since the message is not stored in a queue, it is not saved to disk. If a system failure occurs before the message is processed, it could be lost. We recommend manually logging the message using
iguana.log()
.