christophd commented on a change in pull request #842:
URL: https://github.com/apache/camel-kamelets/pull/842#discussion_r831530762



##########
File path: kamelets/kafka-source.kamelet.yaml
##########
@@ -134,4 +143,12 @@ spec:
         autoOffsetReset: "{{autoOffsetReset}}"
         groupId: "{{?consumerGroup}}"
       steps:
-      - to: "kamelet:sink"
+        - set-property:
+            name: deserializeHeaders
+            constant: "{{deserializeHeaders}}"
+        - choice:
+            when:
+              - simple: "${exchangeProperty.deserializeHeaders} == 'true'"
+                steps:
+                  - bean: 
"org.apache.camel.kamelets.utils.serialization.kafka.KafkaHeaderDeserializer"

Review comment:
       ah found it - not allowed to use `#bean:` prefix in process:ref




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to