Dynamically pass subject via mail adapter without using mail package
We have requirement to pass the Dynamic variable as Mail subject
we can't use Mail Package as we need to capture the data from Dynamic SOAP header Data from incomming channel
Dynamic SOAP Header variable (XHeaderName1) comming from Sender SOAP channel.
Receiver side we need to capture that XHeaderName1 in Mail Adapter channel using ASMA and Variable transport binding so that value of XHeaderName1 should overwrite Subject under General/ Mail Atribute section.
Could you please let me know, how to handle this requirement using module configuration?
Also suggest the correct configuration to use ASMA and Variable transport binding.