Trigger
Trigger flow based on messages received from a Solace broker.
type: "io.kestra.plugin.solace.Trigger"
Trigger flow based on messages received from a Solace broker.
id: trigger_from_solace_queue
namespace: company.team
tasks:
- id: hello
type: io.kestra.plugin.core.log.Log
message: Hello there! I received {{ trigger.messagesCount }} from Solace!
triggers:
- id: read_from_solace
type: io.kestra.plugin.solace.Trigger
interval: PT30S
host: localhost:55555
username: admin
password: admin
vpn: default
messageDeserializer: JSON
queueName: test_queue
queueType: DURABLE_EXCLUSIVE
YES
The Solace hostname to connect with.
YES
The name of the solace queue to consume from.
YES
DURABLE_EXCLUSIVE
DURABLE_NON_EXCLUSIVE
NON_DURABLE_EXCLUSIVE
The type of the queue to be consumed.
YES
default
The Solace VPN to connect with.
NO
60
duration
Interval between polling.
The interval between 2 different polls of schedule, this can avoid to overload the remote system with too many calls. For most of the triggers that depend on external systems, a minimal interval must be at least PT30S. See ISO_8601 Durations for more information of available interval values.
YES
PT10S
duration
The maximum time to wait for receiving a number of messages up to maxMessages
.
YES
100
YES
STRING
STRING
BINARY
ION
JSON
The Deserializer to be used for deserializing messages.
YES
{}
The config properties to be passed to the Deserializer.
Configs in key/value pairs.
YES
The message selector to be used for receiving messages.
Enables support for message selection based on message header parameter and message properties values.
YES
The Solace password.
YES
{}
The Solace properties to be used for connecting to the broker.
NO
CREATED
RUNNING
PAUSED
RESTARTED
KILLING
SUCCESS
WARNING
FAILED
KILLED
CANCELLED
QUEUED
RETRYING
RETRIED
SKIPPED
List of execution states after which a trigger should be stopped (a.k.a. disabled).
YES
The Solace username.
Number of messages consumed from the Solace broker.
uri
URI of a Kestra's internal storage file containing the messages.