Dynamic Producer Destinations

To route messages to dynamic destinations at runtime, set the following headers. For more information, see Mapping Message Headers and Payloads.

Header Name Type Values Applies To Description

scst_targetDestination

string

Any valid destination name

Solace

Specifies the name of the dynamic destination to publish to. Setting this header overrides the configured destination.

gcp_pubsub_topic

string

Any valid destination name

Google Cloud Pub/Sub

Specifies the name of the dynamic destination to publish to. Setting this header overrides the configured destination.

solace_scst_targetDestinationType

string

(queue|topic)

Solace

Specifies the destination type of the dynamic destination. When unspecified, the configured or default destination type is used.