One Star

how to specify dynamically parameters in cMail

Hi,
Please, I try to send an email with dynamic parameters with cMail, subject for example  ? 
I don't know how to instantiate these strings.
The subject is in the body of my message I can set in the header if needed.
I tried with context, globalMap, simple language ... nothing works.
A workaround would be a talend job but there is a way with the cMail ?
best regards,
Ben
1 REPLY
Moderator

Re: how to specify dynamically parameters in cMail

Hi,
Do you want to use talend context variables in Mediation Route spring configuration? Here is a new feature jira issue here:https://jira.talendforge.org/browse/TESB-14430
Have you tried to use PropertyPlaceholder? http://camel.apache.org/using-propertyplaceholder.html

Best regards
Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.