Created
January 16, 2023 19:40
-
-
Save davsclaus/7737f1d145c082cd36ae24bf237132fb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# camel-k: language=yaml | |
- rest: | |
get: | |
- path: "/hello" | |
to: "direct:hello" | |
- from: | |
uri: "direct:hello" | |
steps: | |
- setHeader: | |
name: "content-type" | |
constant: "text/plain" | |
- setBody: | |
constant: "Hello World" | |
- log: "${body}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment