how to specify dynamically parameters in cMail

Four Stars

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
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.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

An API-First Approach to Modernizing Applications

Learn how to use an API-First Approach to Modernize your Applications

Watch Now

Talend API Designer – Technical Overview

Take a look at this technical overview video of Talend API Designer

Watch Now

Getting Started with APIs

Find out how to get started with APIs

Read