Double-click the cTimer
component to display 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 cREST
component to display its Basic settings
view in the Component tab.
This cREST component will
consume the REST service built in the provider Route.
In the Endpoint field, type in
the URL of the service,
"http://localhost:8040/services/customers" in this
example.
Select Manual from the
Type list. In the Relative Path field, enter constant("").
Select GET in the HTTP
Method list. Keep the default settings of the other options.
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!