Skip to content
assimbly edited this page May 11, 2022 · 10 revisions

Route

Creating a route

There are multiple ways to create a new connector:

1) GUI

The default way to create a new flow is to use the gui.

  • On the main page (flows) click the Action button and choose "Create Routes"
  • Give the flow a name.
  • Select a predefined route or click on the plus button to add a new route.

When the route is add or modified an XML editor is opened. There you can edit the route as XML. A route will looks something like this:

<route>
    <from uri="file:home/customers/new"/>
    <log message="Received a new customer!"/>
    <to uri="file:home/customers/old"/>
</route>

More info see Camel Documentation

Running a flow

A flow have 5 basic actions:

  • Start
  • Stop
  • Pause
  • Resume
  • Restart

From the main page the actions which are available have active buttons. When you start a flow you can see the status of flow change from inactive to active. In case of an error the status button gets red. You can hover the status button to get more info.

Alternative ways to create a flow

There are various other ways to create a flow

1) Editor

Use a text editor to a text editor (like Notepad++ or Visual Studio Code) and create an XML file. The XML file can be either in Assimbly format or in Camel XML format

Under settings --> gateway there is an import button where a XML configuration can be imported.

2) Clone

When clicking on the name of flow in the main page you get a view of the flow configuration. When clicking on the "Clone" button the wizard opens with this configuration. There you can change every part of the configuration (for example giving the flow a new name) and save the configuration.

Alternative ways to run a flow

There are various other ways of running flows like using the API or the deploy directory.

Clone this wiki locally