Skip to content

Commit

Permalink
CAMEL-20108 - replace set-body by setBody (#131)
Browse files Browse the repository at this point in the history
kebab case notation is deprecated in 4.2.0

Signed-off-by: Aurélien Pupier <[email protected]>
  • Loading branch information
apupier authored Nov 13, 2023
1 parent f9b2ae2 commit a4b9024
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ spec:
period: "{{period}}"
steps:
- to: "https://api.chucknorris.io/jokes/random"
- set-body:
- setBody:
jsonpath: "$.value"
- to: "kamelet:sink"
2 changes: 1 addition & 1 deletion routeloader/src/main/resources/myroutes/my-yaml-route.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from:
uri: "timer:yaml?period=3s"
steps:
- set-body:
- setBody:
simple: "Timer fired ${header.CamelTimerCounter} times"
- to:
uri: "log:yaml"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from:
uri: "timer:yaml?period=3s"
steps:
- set-body:
- setBody:
simple: "Timer fired ${header.CamelTimerCounter} times"
- to:
uri: "log:yaml"
Expand Down

0 comments on commit a4b9024

Please sign in to comment.