Double-click the cAWSConnection component to display its
Basic settings view in the Component tab.
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.
Double-click the cTimer component
to open its Basic settings view in the Component tab.
In the Repeat field, enter
1 to generate the message exchange one time. Keep the
default settings of the other options.
Double-click the cSetBody
component to open its Basic settings view in the
Component tab.
Select Constant from the
Language drop-down list and type in
"Hello world" in the Expression field as the message body.
Double-click the cAWSKinesis
component to open its Basic settings view in the
Component tab.
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.
Keep the default settings of the cLog component to log the
message exchanges.
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!