/
Send Messages to a Target Component Translators

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().

 

Related content

Sending Messages Between Components
Sending Messages Between Components
More like this
Creating a VMD
Creating a VMD
Read with this
Iguana Log Resubmit Best Practices
Iguana Log Resubmit Best Practices
More like this
Resubmit a Log Message
Resubmit a Log Message
More like this
Custom Logging
Custom Logging
More like this
Push Messages to a Component Queue
Push Messages to a Component Queue
More like this