Skip to main content Skip to complementary content

Configuring the components

Procedure

  1. Double-click the cAWSConnection component to display its Basic settings view in the Component tab.
  2. In the Access Key and Secret Key fields, enter the authentication credentials of your AWS account. For how to get your Access Key and Access Secret, see Access keys (access key ID and secret access key).
    In the Region area, select the Pick in list option and select your region in the list.
  3. Double-click the cTimer component to open its Basic settings view in the Component tab.
  4. In the Repeat field, enter 1 to generate the message exchange one time. Keep the default settings of the other options.
  5. Double-click the cSetBody component to open its Basic settings view in the Component tab.
  6. Select Constant from the Language drop-down list and type in "Hello world" in the Expression field as the message body.
  7. Double-click the cAWSKinesis component to open its Basic settings view in the Component tab.
  8. In the Connection list, select the cAWSConnection component that you have just configured to connect to Amazon Kinesis Service.
    In the Stream Name field, enter "Kinesis_data_stream_4_dev" in this use case.
    In the Camel AWS Kinesis Partition Key field, specify the shard in the stream the data record is assigned to, "abc" in this use case.
  9. Keep the default settings of the cLog component to log the message exchanges.
  10. 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 – please let us know!