A Simple Talend Job - Exporting a Context

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (10)

View Page History
{section}
{column}

h1. Preliminary notes

h2. Exporting the job

Select the job and right-click it. Select *Export to Petals ESB*. Job Scripts*.
Update the target destination.
In the *Export type* combo, select *Petals ESB*.
Let Update the target destination and let the job be exposed as a singleton.

Click *Edit the exposed contexts*.
You should have the following dialog:

!SimpleJobExportContext1.jpg! !PetalsContextAsParameter_1.jpg!

Click the *Export mode* column, and select *Parameter* in the combo box. Click *OK*.
The link label should be updated and indicate the number of exported contexts.

!SimpleJobExportContext2.jpg! !PetalsContextAsParameter_2.jpg!

Click *Finish*.
In any case, the default value is more useful to document the service than for the execution.

{note} {info}
Obviously, the file path example to illustrate a context may not be the best one (for portability reasons).
Anyway, it serves its purpose, which is being an example of interactions between Petals ESB and a Talend job.
{note} {info}

\\
{tip}
Exposing a context as a parameter allows anyone to specify a context value.
While using the native Talend parameters requires the user to know both how jobs work the job works and how this job it was designed.
{tip}