oscerd commented on issue #673: URL: https://github.com/apache/camel-kamelets/issues/673#issuecomment-1007432546
With a little update to insert-header action you should be able to do something like ``` - route: from: uri: "kamelet:kafka-source" ... steps: - to: uri: "kamelet:extract-field-action" parameters: field: "username" headerOutput: true - to: uri: "kamelet:insert-header-action" parameters: name: "ce-indexId" value: "${header.CamelKameletsExtractFieldName}" - to: uri: "kamelet:elasticsearch-index-sink" ... ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org