Dynamic Producer Destinations

To route messages to dynamic destinations at runtime, use the User-Configured Header Transforms feature described above to set the following headers:

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.

Setting the scst_targetDestination header under solace.connector.default.workflow.transform-headers may not be viable if not all workflows follow the same direction.