BOOMI : Publish Events to PubSub+ with custom headers
I just wanted to share how to set specific headers when publishing events with BOOMI.
First be sure to select the following connector to connect to Solace :
"Solace PubSub+ Platform - Partner connector"
This connector is developed by Solace.
Pass static key=value pairs
Since the version 220 published on the 10th of July you can pass static key value pairs as headers from the "Operation" :
**The result is the following : **
your message is published with the standard headers + static_header_key=static_header_value header.
In a future release, you'll also be able to pass dynamic data as well.
Pass dynamic key value pairs
As of now, to pass dynamic data, you need to
- Use the "Set Property" Shape
- Type : Document property
- Source Type : connector
- connectors : select your "Solace PubSub+ Platform - Partner connector" instance
- Property : User Property
As a value, you need to pass a JSON object with key/value pair;
This JSON string object should be built in your Boomi process prior to using the "Set Property" shape, and use a dynamic value.
(on the screenshot, I'm using a static value)
Exemple of value :
The result is the following :
your message is published with the standard headers + the foo=bar & baz=fubar headers.
Hope this helps,