Skip to content

Solace Operation Binding v0.2.0

The Solace operation binding v0.2.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 an operation, where each destination can be a queue or a direct topic subscription.

Operation Properties

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

Destination Object

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

PropertyTypeRequiredDescription
namestringNoThe name of the queue.
topicSubscriptionsarrayNoA list of topic subscriptions that the queue listens to.
accessTypestringNoexclusive or nonexclusive.

Example

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

Changelog

Version 0.2.0

  • Added accessType to the queue object.