The Source screen is where you create your integration flows. You can create integrations in two ways:
Visually, in the Diagram tab: add steps to the canvas and fill in the configuration forms to define the integration flow.
Via code, in the Source Code tab: use CAMEL YAML DSL to write the integration script directly in the main.yaml file.
While you build the integration in the Diagram tab, you can switch to the Source Code tab and view the corresponding code, and vice versa.
The animation below illustrates the creation of an integration and the features available in each tab:

Check our step-by-step guide to build an integration:
(Optional) Create resources
(Optional) Create flow variables

main.yaml, you will see the canvas with the empty trigger step as the first step of the integration.The image below shows the Source screen displaying the Diagram tab.

IMPORTANTYou can replace a trigger with another, but all settings of the original trigger will be lost. To replace a trigger, click the three-dot icon on the step and then click Replace.

After adding the trigger, you will see a
icon indicating the addition of a new step.
Click the
icon.
Then click + Add Step.
Select a component or an EIP from the menu on the right side of the screen by clicking the corresponding tab. If necessary, use the search tool to locate a specific component or EIP. Then click CONFIRM. Alternatively, you can drag it.
NOTEAfter adding a step to the canvas, the configuration form will automatically open. However, you can continue adding steps and configure them later.

TIPTo enable sending and viewing execution records (logs) in Sensedia Analytics, add the Log EIP. When viewing the records, you will not be able to select the Trace and Debug levels.
For some Apache Camel components, such as "JSONata", it is necessary to use scripts stored in separate files. These files can be created in Resources, regardless of the file extension. This way, you can reference them directly in the main flow, ensuring they are used during the integration flow execution.
To create a resource file:
jsonata.yaml, teste.txt, etc.NOTECheck more information about Resources.
Variables allow for custom flow configuration and environment parameterization, eliminating the need to create a separate integration flow for each environment.
To create a variable:
on the left side of the canvas.NOTECheck more information about variables.
After finishing configuring the flow, save the integration by clicking SAVE in the upper right corner.
We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more