Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to set amqp header properties while using camqp component to set ContentType and other headers on message posted to Azure Service Bus

I am able to connect to Azure Service Bus from Talend using MQConnection Factory and cAMQP component. However we would like to set amqp header properties and may be few custom properties too to the message.

Unable to find a way to set any amqp header fields. Is there a tutorial or help around it. ?

 

Tried using cSetProperties, but it is still properties not visible in message read from Azure Service Bus Queue.  Route Picture attached

 

 

 

Labels (2)
2 Replies
vapukov
Master II
Master II

tSetHeader more relevant for Your task 

Anonymous
Not applicable
Author

Thanks. It seems tSetHeader against Azure Service Bus is good to set any new Custom Properties.   Like in attached screenshot, 2 new Custom Properties are added with tSetHeader component "ContentType" and "content_HYPHEN_type". However the original amqp header property "ContentType"  is not populated.

 

We would like to set ContentType and ReplyTo properties in default header to Azure Service Bus for message consumers. Tried prefix with "amqp:" based on MuleSoft Tool's Azure Service Bus article but got compilation error.  If it works with Mulesoft Connector, I am sure there must be a way to set this using Talend Component too.


tSetHeader_AMQP.PNG