Aller au contenu

Flux d'intégration

Dernière révision : 28 octobre 2026 · Nouveautés de la plateforme

En bref Le trajet d'un message se dessine route par route, de son entrée à sa sortie.

Éditeur de flux : routes et trajet d'une route

L'éditeur de flux dessine les routes d'une application : d'où vient un message, ce qui lui est fait, où il va. Il s'ouvre sur un modèle de type « Flux d'intégration », rangé dans le dossier « Flows » d'un projet application, et montre le même flux en diagramme ou en texte XML.

Créer un flux

Dans le projet, « Actions » puis « Ajouter une ressource » : type « Integration flow », nom, clé et description. Un flux neuf contient un bloc de routes vide et son diagramme. Une application range habituellement ses routes en plusieurs flux, un par fonctionnalité : tous s'exécutent dans le même contexte et se répondent.

Les zones de l'écran

ZoneContenu
Paletteles éléments à poser, par groupes repliables avec leur nombre : « Components » (route, point d'entrée), « Control FLow » (choix, boucles, gestion d'erreur, temporisation…), « Routings » (appels, diffusion, routage dynamique…), « Transformations », « Rests » (opérations REST) et « Others ». Le champ « Rechercher un composant » filtre sur le nom et le type.
Routes du fluxla liste des routes et des opérations REST du flux, avec un filtre et un compteur d'appelants (voir plus bas).
Canevasle diagramme. En haut, la barre « Navigation entre routes » apparaît quand l'élément sélectionné appelle ou consomme un point d'entrée interne. En bas à droite, les boutons de zoom.
Catalogue« Connecteurs disponibles » : les connecteurs que le moteur sait charger, avec un champ de recherche. La pastille « Socle » marque un connecteur déjà fourni par le moteur ; sinon la bibliothèque nécessaire est nommée, et ajoutée automatiquement à la construction. La section « Beans déclarés par le flux » liste les beans et leurs réglages.
Propriétésles réglages de l'élément sélectionné, en sections repliables (« General », « Settings », « Security »…). Sans sélection, les réglages du flux.

La barre du modèle ajoute ses outils : « Afficher le XML du flux », « Valider le flux d'intégration », « Exporter le modèle », « Exporter en image » et, en édition, « Enregistrer à la taille du zoom ».

Dessiner une route

  1. Un clic ou un glisser sur une entrée de la palette, puis un dépôt sur le canevas, pose l'élément. Une route se crée dépliée, prête à recevoir ses étapes.
  2. Autour de l'élément sélectionné, un menu propose les gestes utiles : relier l'étape à la suivante, ajouter « When » et « Otherwise » à un choix, ajouter « To », « To dynamic » ou « Route » derrière une opération REST, supprimer (corbeille).
  3. Le panneau des propriétés règle l'élément. Pour un point d'entrée ou un appel, le champ URI propose les connecteurs du catalogue et rappelle leur syntaxe.
  4. Un clic sur un connecteur du catalogue écrit son préfixe (schéma:) dans l'URI de l'élément sélectionné, s'il s'agit d'un point d'entrée ou d'un appel.
  5. Le libellé d'un élément se modifie par un double-clic ou la touche E.
ToucheEffet (édition)
Ctrl+Zannuler la dernière modification du diagramme
Ctrl+A ou ⌘+Atout sélectionner
Emodifier le libellé
S, L, Houtil d'espacement, lasso, main

La molette et les boutons zooment de 20 % à 400 % ; « 1:1 » revient à la taille réelle et le bouton d'ajustement cadre tout le flux. Glisser le fond déplace la vue. À l'ouverture, un petit flux est cadré en entier, un grand s'ouvre à 100 % sur son coin supérieur gauche. Un élément incomplet porte un badge rouge « ! », dont l'infobulle donne le détail.

La liste des routes

Le panneau « Routes du flux » liste d'abord les opérations REST (« POST /chemin »), puis les routes dans l'ordre du flux. Chaque ligne montre une icône selon la nature du point d'entrée (HTTP, planification, file de messages, fichier, point interne…), le nom, la description et l'URI. Le filtre « Filtrer par nom, description ou URI… » réduit la liste, et le compteur indique combien de routes et d'opérations restent affichées. Une route sans identifiant, sans point d'entrée ou absente du diagramme le signale.

Un clic sur une ligne sélectionne la route sur le canevas et l'amène dans la vue ; le zoom ne descend que si nécessaire, jamais sous 50 %. Le panneau des propriétés suit la sélection. La poignée « Routes (n) » ouvre ou ferme la liste ; son état est retenu par le navigateur.

Le compteur d'appelants

Une route dont le point d'entrée est interne (direct:, direct-vm:, seda:, vm:) porte une pastille numérique : le nombre d'éléments qui l'appellent dans toute l'application. Le compte couvre le flux ouvert et tous les autres flux de la version, dans leur état à l'écran, modifications non enregistrées comprises. Il retient les appels dont l'URI est fixe, y compris depuis une opération REST ; un appel dont l'URI est calculée à l'exécution ne compte pas. L'infobulle détaille la répartition (« 2 dans ce flux », « 1 dans commandes »). Une pastille orange signale une route que rien n'appelle ; une pastille pointillée, un compte incomplet parce qu'un autre flux n'a pas pu être lu.

La barre « Navigation entre routes » relie les appels internes à leurs routes, dans le flux ouvert comme dans les autres flux de l'application.

  • Sur un appel vers un point interne, la barre affiche « Appelle » et le point visé, puis « Aller à la route » pour une route du même flux, ou « Implémentée dans le flux » suivi du nom du flux et du bouton « Ouvrir » pour une route d'un autre fichier.
  • Sur une route ou son point d'entrée, elle affiche « Appelée par 1 endpoint » (ou par n endpoints) : un bouton mène à l'appelant unique, le menu « Voir les appelants » les liste tous, avec leur flux.
  • Un appel dont l'URI est calculée à l'exécution l'indique : la route visée n'est connue qu'à l'exécution.
  • Quand aucune route ne consomme le point appelé, la barre le dit ; en édition, « Créer la route » ajoute au flux une route qui le consomme, en une seule modification annulable.

« Ouvrir » sélectionne l'autre flux dans la liste des modèles, l'affiche et cadre la route visée. Le mode lecture ou édition reste celui du projet. La flèche « Revenir à l'élément précédent » (ou « Revenir au flux … ») remonte le chemin parcouru, jusqu'à trente étapes, y compris d'un fichier à l'autre ; ouvrir un flux depuis la liste des modèles repart d'un chemin vide.

Valider le flux

« Valider le flux d'intégration » contrôle le dessin du flux : chaque élément a sa forme, chaque enchaînement sa flèche, chaque route son cadre, et les identifiants sont uniques. La boîte de résultat s'intitule « Flux d'intégration conforme », « Flux conforme, avec des avertissements » ou « Flux d'intégration non conforme ». Les constats y sont groupés par règle, erreurs d'abord, avec une explication ; un constat localisable est un lien « Afficher sur le canevas » qui ferme la boîte et cadre l'élément. Les constats s'affichent par vingt, et « Afficher n de plus » complète la liste.

Correction guidée

En édition, la boîte propose de corriger les avertissements qui ont une correction sûre : un bouton « Corriger » par constat, « Corriger les n » par groupe et « Tout corriger (n) » pour l'ensemble.

ConstatCorrection
Route sans cadre, bloc REST sans cadreDessiner le cadre manquant
Étape hors du cadre de sa routeAgrandir le cadre
Flèche manquanteTracer la flèche manquante
Flèche sans cheminTracer le chemin de la flèche
Flèche rattachée aux éléments plutôt qu'à leurs formesRattacher la flèche aux formes
Flèche sans référenceRenseigner la référence de la flèche
Flèche d'un type inconnuRendre son type à la flèche, ou la retirer
Flèche qui ne correspond à aucun enchaînementRetirer la flèche
Formes en double, forme hors des routes affichéesRetirer les formes en trop
Diagrammes en tropRetirer les diagrammes en trop
Route marquée repliéeOuvrir la route

Une correction ne touche que le dessin, jamais les routes. Elle s'applique en une seule modification, que Ctrl+Z annule d'un coup, puis le flux est revalidé et le message « n correction(s) appliquée(s) » s'affiche. Si le flux a changé depuis la validation, la liste est recalculée et rien n'est corrigé avant vérification. Les autres constats, comme un identifiant en double, se corrigent à la main : leur explication dit quoi faire. En lecture seule, la boîte indique le nombre de corrections disponibles et invite à passer par « Modifier ».

Le flux en XML

« Afficher le XML du flux » remplace le diagramme par le texte du flux ; « Afficher le diagramme du flux » revient au dessin, qui relit le texte. Avant de basculer, le diagramme valide un libellé en cours de saisie. En édition, tout le texte est modifiable et chaque frappe marque le modèle modifié ; en lecture seule, il se lit, se parcourt et se copie. En mode texte, la validation, l'export en image et l'enregistrement au zoom ne sont pas proposés.

Exporter

  • « Exporter en image » télécharge le diagramme en SVG autonome (nom-du-flux.svg), icônes comprises. Le modèle n'est pas modifié.
  • « Exporter le modèle » télécharge le flux : le XML écrit par l'éditeur en mode diagramme, le texte tel quel en mode texte.
  • « Enregistrer à la taille du zoom » (édition) donne au dessin la taille affichée à l'écran, puis ramène le zoom à 100 %. La modification s'annule comme les autres ; le bouton reste grisé quand le zoom est déjà à 100 % (« Rien à enregistrer : le flux a déjà la taille affichée »).

Enregistrement et lecture seule

Le flux n'est marqué modifié que si le XML produit diffère de celui qui a été chargé : jamais à l'ouverture, jamais en lecture seule. L'aperçu du flux est régénéré à chaque vraie modification. L'enregistrement se fait avec le projet.

En lecture seule restent possibles la sélection, le zoom, le défilement, la liste des routes, la navigation entre flux, la recherche dans la palette et le catalogue, la validation sans correction, les exports et la lecture du XML. La palette reste visible mais grisée, avec la note « Lecture seule : cliquez sur « Modifier » pour ajouter des composants. La recherche et les groupes restent consultables. » ; le catalogue rappelle que l'écriture demande le mode édition. Passer d'un mode à l'autre conserve la sélection, le zoom et la position.

Sur téléphone et tablette

  • Sous 960 px de large, le canevas occupe toute la largeur. La palette et les propriétés passent dans des tiroirs ouverts par deux boutons ronds collés en bas du canevas, « Palette » et « Propriétés » ; la liste des routes et le catalogue s'ouvrent par-dessus le canevas. Un toucher à côté ou la touche Échap ferme le tiroir.
  • Au doigt, un balayage fait défiler la vue (toujours en lecture seule) ; en édition, il déplace l'étape touchée, et un appui long déplace le cadre d'une route. Le pincement zoome.
  • Dans la palette, un balayage fait défiler la liste, un toucher choisit un élément et un appui long le fait glisser vers le canevas.
  • Avec un pointeur tactile, les cibles font au moins 40 px ; sous 600 px, la boîte de validation s'ouvre en plein écran.
Documentation de la plateforme Clomoon, éditée par Clover Consulting · Mentions légales · Confidentialité · Contact
Skip to content

Integration flows

Last revised 28 October 2026 · Platform changelog

In short The path of a message is drawn route by route, from its entry to its output.

Flow editor: routes and path of a route

The flow editor draws the routes of an application: where a message comes from, what is done to it, where it goes. It opens on a model of type “Integration flow”, kept in the “Flows” folder of an application project, and shows the same flow as a diagram or as XML text.

Creating a flow

In the project, “Actions” then “Add new resource”: type “Integration flow”, name, key and description. A new flow holds an empty route block and its diagram. An application usually splits its routes into several flows, one per feature: they all run in the same context and answer one another.

The areas of the screen

AreaContent
Palettethe elements to place, in collapsible groups with their count: “Components” (route, entry point), “Control FLow” (choice, loops, error handling, delays…), “Routings” (calls, broadcast, dynamic routing…), “Transformations”, “Rests” (REST operations) and “Others”. The “Search a component…” field filters on name and type.
Routes of the flowthe list of the routes and REST operations of the flow, with a filter and a caller counter (see below).
Canvasthe diagram. At the top, the “Navigation between routes” bar appears when the selected element calls or consumes an internal entry point. At the bottom right, the zoom buttons.
Catalog“Available connectors”: the connectors the engine can load, with a search field. The “Core” pill marks a connector already provided by the engine; otherwise the library needed is named, and added automatically at build time. The “Beans declared by the flow” section lists the beans and their settings.
Propertiesthe settings of the selected element, in collapsible sections (“General”, “Settings”, “Security”…). With no selection, the settings of the flow.

The model bar adds its tools: “Show the flow's XML”, “Validate the integration flow”, “Export the model”, “Export as an image” and, in edit mode, “Save at the zoomed size”.

Drawing a route

  1. A click or a drag on a palette entry, then a drop on the canvas, places the element. A route is created unfolded, ready to receive its steps.
  2. Around the selected element, a menu offers the useful gestures: link the step to the next one, add “When” and “Otherwise” to a choice, add “To”, “To dynamic” or “Route” after a REST operation, delete (bin).
  3. The properties panel sets up the element. For an entry point or a call, the URI field suggests the connectors of the catalog and reminds you of their syntax.
  4. A click on a connector of the catalog writes its prefix (scheme:) into the URI of the selected element, if it is an entry point or a call.
  5. The label of an element is changed by a double-click or the E key.
KeyEffect (edit mode)
Ctrl+Zundo the last change of the diagram
Ctrl+A or ⌘+Aselect all
Eedit the label
S, L, Hspace tool, lasso, hand

The mouse wheel and the buttons zoom from 20% to 400%; “1:1” goes back to the actual size and the fit button frames the whole flow. Dragging the background moves the view. On opening, a small flow is framed whole, a large one opens at 100% on its top-left corner. An incomplete element shows a red “!” badge, whose tooltip gives the details.

The list of routes

The “Routes of the flow” panel lists the REST operations first (“POST /path”), then the routes in the order of the flow. Each line shows an icon matching the kind of entry point (HTTP, schedule, message queue, file, internal point…), the name, the description and the URI. The “Filter by name, description or URI…” filter narrows the list, and the counter says how many routes and operations remain shown. A route without an identifier, without an entry point or missing from the diagram says so.

A click on a line selects the route on the canvas and brings it into view; the zoom only goes down if needed, never under 50%. The properties panel follows the selection. The “Routes (n)” handle opens or closes the list; its state is remembered by the browser.

The caller counter

A route whose entry point is internal (direct:, direct-vm:, seda:, vm:) shows a number pill: the number of elements calling it in the whole application. The count covers the open flow and all the other flows of the version, in their on-screen state, unsaved changes included. It keeps the calls whose URI is fixed, including from a REST operation; a call whose URI is computed at run time does not count. The tooltip details the breakdown (“2 in this flow”, “1 in orders”). An orange pill flags a route nothing calls; a dotted pill, an incomplete count because another flow could not be read.

The “Navigation between routes” bar links internal calls to their routes, in the open flow as in the other flows of the application.

  • On a call to an internal point, the bar shows “Calls” and the point aimed at, then “Go to route” for a route of the same flow, or “Implemented in the flow” followed by the name of the flow and the “Open” button for a route of another file.
  • On a route or its entry point, it shows “Called by 1 endpoint” (or by n endpoints): a button leads to the single caller, the “Show the callers” menu lists them all, with their flow.
  • A call whose URI is computed at run time says so: the route aimed at is only known at run time.
  • When no route consumes the point called, the bar says so; in edit mode, “Create the route” adds to the flow a route consuming it, as a single undoable change.

“Open” selects the other flow in the list of models, shows it and frames the route aimed at. The read or edit mode stays that of the project. The “Back to the previous element” arrow (or “Back to the flow …”) goes back along the path followed, up to thirty steps, including from one file to another; opening a flow from the list of models starts again from an empty path.

Validating the flow

“Validate the integration flow” checks the drawing of the flow: every element has its shape, every link its arrow, every route its frame, and identifiers are unique. The result dialog is titled “Integration flow conformant”, “Flow conformant, with warnings” or “Integration flow not conformant”. The findings are grouped by rule there, errors first, with an explanation; a finding that can be located is a “Show on the canvas” link that closes the dialog and frames the element. Findings are shown twenty at a time, and “Show n more” completes the list.

Guided repair

In edit mode, the dialog offers to repair the warnings that have a safe repair: a “Repair” button per finding, “Repair these n” per group and “Repair all (n)” for everything.

FindingRepair
Route without a frame, REST block without a frameDraw the missing frame
Step outside the frame of its routeEnlarge the frame
Missing arrowDraw the missing arrow
Arrow without a pathDraw the path of the arrow
Arrow attached to elements rather than to their shapesAttach the arrow to the shapes
Arrow without a referenceFill in the reference of the arrow
Arrow of an unknown typeGive the arrow its type back, or remove it
Arrow matching no link of the routesRemove the arrow
Duplicate shapes, shape outside the displayed routesRemove the extra shapes
Extra diagramsRemove the extra diagrams
Route marked collapsedOpen the route

A repair only touches the drawing, never the routes. It is applied as a single change, which Ctrl+Z undoes at once, then the flow is validated again and the message “n repair(s) applied” is shown. If the flow changed since the validation, the list is computed again and nothing is repaired before it is checked. The other findings, such as a duplicate identifier, are fixed by hand: their explanation says what to do. Read-only, the dialog gives the number of repairs available and points to “Modify”.

The flow as XML

“Show the flow's XML” replaces the diagram with the text of the flow; “Show the flow's diagram” goes back to the drawing, which reads the text again. Before switching, the diagram commits a label being typed. In edit mode, the whole text can be changed and each keystroke marks the model modified; read-only, it can be read, browsed and copied. In text mode, validation, image export and saving at the zoomed size are not offered.

Exporting

  • “Export as an image” downloads the diagram as a standalone SVG (flow-name.svg), icons included. The model is not changed.
  • “Export the model” downloads the flow: the XML produced by the editor in diagram mode, the text as it is in text mode.
  • “Save at the zoomed size” (edit mode) gives the drawing the size shown on screen, then brings the zoom back to 100%. The change is undone like the others; the button stays greyed out when the zoom is already at 100% (“Nothing to save: the flow already has the displayed size”).

Saving and read-only

The flow is marked modified only if the XML produced differs from the one loaded: never on opening, never read-only. The preview of the flow is generated again at each real change. Saving is done with the project.

Read-only, selection, zoom, scrolling, the list of routes, navigation between flows, search in the palette and the catalog, validation without repair, exports and reading the XML remain possible. The palette stays visible but greyed out, with the note “Read-only: click “Modify” to add components. Search and groups can still be browsed.”; the catalog reminds you that writing needs edit mode. Switching from one mode to the other keeps the selection, the zoom and the position.

On phones and tablets

  • Under 960 px wide, the canvas takes the whole width. The palette and the properties move into drawers opened by two round buttons stuck at the bottom of the canvas, “Palette” and “Properties”; the list of routes and the catalog open over the canvas. A tap beside it or the Escape key closes the drawer.
  • By touch, a swipe scrolls the view (always read-only); in edit mode, it moves the step touched, and a long press moves the frame of a route. Pinching zooms.
  • In the palette, a swipe scrolls the list, a tap picks an element and a long press drags it to the canvas.
  • With a touch pointer, targets are at least 40 px; under 600 px, the validation dialog opens full screen.
Documentation for the Clomoon platform, published by Clover Consulting · Legal notice · Privacy · Contact