Send message to Solace queues with persistent delivery
Configure the plugin to connect to a Solace broker using basic authentication, and send messages to multiple queues with persistent delivery. This example uses a statically configured message and includes a Lua function to transform message content before sending (in this case the message that the plugin will send is “HELLO”).
Environment variables
-
SOLACE_HOST: The IPv4 or IPv6 address or hostname of the Solace broker to connect to. For example,tcp://127.0.0.1:55555. -
SOLACE_USERNAME: The username used withBASICauthentication scheme when connecting to an event broker. -
SOLACE_PASSWORD: The password used withBASICauthentication scheme when connecting to an event broker. -
QUEUE_NAME: The name of the first destination queue. -
ANOTHER_QUEUE_NAME: The name of the second destination queue.