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

Four Stars

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

 

 

 

Twelve Stars

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

tSetHeader more relevant for Your task 

-----------
Four Stars

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

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.