Message Headers

This feature is deprecated and will be removed in a future release. Use the configuration described in Mapping Message Headers and Payloads instead.

Solace and Azure Service Bus message headers can be created or manipulated using the User-Configured Header Transforms feature.

Solace Headers

Solace headers exposed to the Micro-Integration are documented in the Spring Cloud Stream Binder for Solace documentation.

Azure Service Bus Headers

The Micro-Integration supports dynamic messages and maps critical message attributes between a Solace event broker and Azure Service Bus.

Dynamic Headers

The Micro-Integration supports Azure Service Bus partitioning and message sessions of the Azure Service Bus by setting the following headers:

Header Name Type Access Description

azure_session_id

string

Read

sets a session ID of a message in the message header.

azure_partition_key

string

Read

sets a partition key in the message header.

The session ID has higher priority than the partition key. When both azure_partition_key and azure_session_id headers are set, the value of the session ID overwrites the value of the partition key.

Header Mapping Between Solace and Azure Service Bus

The Micro-Integration facilitates seamless integration by mapping specific headers between Solace and Azure Service Bus:

  • SolaceHeaders.CORRELATION_ID to ServiceBusMessageHeaders.CORRELATION_ID

  • SolaceHeaders.APPLICATION_MESSAGE_ID to ServiceBusMessageHeaders.MESSAGE_ID

Reserved Message Headers

The following are reserved header spaces:

Any headers with these prefixes (that are not defined by the Micro-Integration or any technology used by the Micro-Integration) may not be backwards compatible in future releases of this Micro-Integration.