From 6b002754d0f1b1a09967587633fed22bb811a3f8 Mon Sep 17 00:00:00 2001 From: Heiko Henning Date: Sat, 27 Jan 2024 09:54:02 +0100 Subject: [PATCH] feat: solace add per operation fields --- solace/README.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/solace/README.md b/solace/README.md index 56d1a404..dae81d53 100644 --- a/solace/README.md +++ b/solace/README.md @@ -16,6 +16,7 @@ Field Name | Type | Description ---|---|--- `bindingVersion`|String|The current version is 0.3.0 `msgVpn`|String|The Virtual Private Network name on the Solace broker. +`clientName`|String|A unique client name to use to register to the appliance. If specified, it must be a valid Topic name, and a maximum of 160 bytes in length when encoded as UTF-8. @@ -32,10 +33,13 @@ This object MUST NOT contain any properties. Its name is reserved for future use We need the ability to support several bindings for each operation, see the [Example](#example) section below for details. -Field Name | Type | Description ----|---|--- -`bindingVersion`|String|The current version is 0.3.0 -`destinations`|List of Destination Objects|Destination Objects are described next. +Field Name | Type | Description +---|---------------------------------------------------------------------------------|--- +`bindingVersion`| String |The current version is 0.3.0 +`destinations`| List of Destination Objects |Destination Objects are described next. +`timeToLive` | Integer \| [Schema Object][schemaObject] \| [Reference Object](referenceObject) | Interval in milliseconds or a *Schema Object* containing the definition of the lifetime of the message. +`priority` | Integer \| [Schema Object][schemaObject] \| [Reference Object](referenceObject) | The valid priority value range is 0-255 with 0 as the lowest priority and 255 as the highest or a *Schema Object* containing the definition of the priority. +`dmqEligible` | Boolean | Set the message to be eligible to be moved to a Dead Message Queue. The default value is false. ### Destination Object @@ -104,6 +108,9 @@ channels: name: UpdatedHREvents topicSubscriptions: - person/*/updated + timeToLive: 5000 + priority: 120 + dmqEligible: true message: $ref: '#/components/messages/PersonEvent' parameters: @@ -147,6 +154,7 @@ channels: - destinationType: topic topicSubscriptions: - person/> + timeToLive: 60000 message: $ref: '#/components/messages/PersonEvent' parameters: