You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "christophd (via GitHub)" <gi...@apache.org> on 2023/08/31 20:31:16 UTC

[GitHub] [camel-kamelets] christophd commented on pull request #1607: Use Data Type Transformer API provided by Camel 4.0

christophd commented on PR #1607:
URL: https://github.com/apache/camel-kamelets/pull/1607#issuecomment-1701740481

   YAY, tests are green!
   
   @claudio4j thank you! Yes I really like the new way to use transform EIP in combination with data types:
   ```yaml
   from:
     uri: "kamelet:source"
     steps:
     - transform:
         to-type: "aws2-ddb:application-json"
     - to:
         uri: "aws2-ddb:{{table}}"
   ```
   
   Also the built-in data type support on Kamelet source/sink makes it easy to use it in a pipe/binding:
   ```yaml
   kind: KameletBinding
   metadata:
     name: aws-s3-to-http
   spec:
     source:
       ref:
         kind: Kamelet
         apiVersion: camel.apache.org/v1alpha1
         name: aws-s3-source
       properties:
         # ...
       dataTypes:
         out:
           format: "aws2-s3:application-cloudevents"
   ```


-- 
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-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org