Http component addition header properties

Hi,

Is there a way to assign a dynamic value in the additional http header properties in the http component? I have Content-MD5=dsThdOld+xTkjsd and I’m wondering if I there’s a way to make it as Content-MD5=variable.

Thanks,

Vince

Hi pOctavian,

you can use ${graph_parameter_name} substitution.

Hi,

Thanks for the quick response. However, I’m still not sure how to change the value of an internal parameter from the reformat component. Let’s say I have an internal parameter, header = text/xml, and I want to change the “headers” value in the reformat component to, application/xml, so that then I can use it in the http component header properties as, ${header}. Any thoughts?

Thanks.

Hello,

you can save the values into parameters through Java. But since parameters are resolved on initialization of components, you have to call your desired graph by RunGraph component. Then it will work.
I created a sample graphs that demonstrate this.

Regards,
Marek Vacek
CloverETL Support Team

Hi Marek,

Thanks for your help. I got my graph working after I saw your sample graphs.