Skip to content

Commit

Permalink
chore: add headers to telegram-source for symmetry with sink
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaferraro committed Apr 8, 2021
1 parent 23b509b commit 61a9fc2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions telegram-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ spec:
parameters:
authorizationToken: "{{authorizationToken}}"
steps:
- set-header:
name: chat-id
simple: "${header[CamelTelegramChatId]}"
- set-header:
name: ce-chat-id
simple: "${header[CamelTelegramChatId]}"
- marshal:
json: {}
- to: "kamelet:sink"

0 comments on commit 61a9fc2

Please sign in to comment.