-
Double-click the cDataset
component to open its Basic settings view
in the Component tab.
-
In the Id field, enter
"myDataset" as the dataset bean ID.
-
In the Arguments table, click [+]
to add a row and enter 1000 in the
Value field to create 1000 messages. Keep the default
settings of the other options.
In the Bean Class field,
the default implementation that is shipped by Camel org.apache.camel.component.dataset.SimpleDataSet is set. In this
use case, a new dataset bean is registered.
-
Double-click the cSetBody
component to open its Basic settings view
in the Component tab.
-
Select Constant in the
Language list and enter "Hello!" in the Expression field as the message body.
-
Keep the default settings of the cLog components to
monitor the message exchanges.
-
Press Ctrl+S to save your
Route.