Skip to main content Skip to complementary content
Close announcements banner

Configuring the components

Procedure

  1. Double-click the cDataset component to open its Basic settings view in the Component tab.
  2. In the Id field, enter "myDataset" as the dataset bean ID.
  3. 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.
  4. Double-click the cSetBody component to open its Basic settings view in the Component tab.
  5. Select Constant in the Language list and enter "Hello!" in the Expression field as the message body.
  6. Keep the default settings of the cLog components to monitor the message exchanges.
  7. Press Ctrl+S to save your Route.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!