Skip to content

Solace Operation Binding v0.3.0

The Solace operation binding v0.3.0 specifies the array of destinations that a message will be sent to or received from.

Overview

This binding allows you to define a list of destinations for a single operation, where each destination can be a queue or a direct topic subscription.

Operation Properties

PropertyTypeRequiredDescription
bindingVersionstringNoBinding version (defaults to 0.3.0).
destinationsarrayNoAn array of destination objects.

Destination Object

Each object in the destinations array defines a single destination.

PropertyTypeRequiredDescription
destinationTypestringYesqueue or topic.
deliveryModestringNodirect or persistent. Defaults to direct.
queueobjectNoA queue object, required if destinationType is queue.
topicSubscriptionsarrayNoA list of topic subscriptions for a topic destination.

Queue Object

The queue object is used when destinationType is queue.

PropertyTypeRequiredDescription
namestringNoThe name of the queue.
topicSubscriptionsarrayNoA list of topic subscriptions that the queue listens to.
accessTypestringNoexclusive or nonexclusive.
maxMsgSpoolUsagestringNoMaximum spool usage for the queue (e.g., "100MB").
maxTtlstringNoMaximum time-to-live for messages spooled to the queue (e.g., "3600s").

Example

This operation describes a consumer that binds to a durable queue for guaranteed delivery.

yaml
operations:
  receiveOrderEvent:
    action: receive
    bindings:
      solace:
        bindingVersion: '0.3.0'
        destinations:
          - destinationType: 'queue'
            deliveryMode: 'persistent'
            queue:
              name: 'q_orders'
              topicSubscriptions:
                - 'orders/v1/us/new'

Changelog

Version 0.3.0

  • Introduced the destinations array to formally define multiple endpoints for an operation.