[ 
https://issues.apache.org/jira/browse/CAMEL-14619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18151606#comment-18151606
 ] 

Claus Ibsen commented on CAMEL-14619:
-------------------------------------

Implemented by the data type / transformer SPI of CAMEL-18698 (Camel 4.0): 
`DataTypeTransformer`, `Transformer` and
`TransformerResolver` in `camel-api`. CloudEvents has transformers per 
transport, for example
`http:application-cloudevents` in `camel-cloudevents` and 
`*CloudEventDataTypeTransformer` in about 20 AWS, Azure and
Google components. A binding for another transport can be added as a 
transformer in that component, under a new
ticket. Closing as done.

_Claude Code on behalf of davsclaus_

> Introduce a SPI to automatic bind data format to transports
> -----------------------------------------------------------
>
>                 Key: CAMEL-14619
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14619
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Luca Burgazzoli
>            Priority: Major
>
> Some data formats such as the future CloudEvent one 
> (https://issues.apache.org/jira/browse/CAMEL-13335) have specifications that 
> describe how to bind them to specific transports 
> (https://github.com/cloudevents/spec) so we should introduce a SPI to make 
> this binding automatic so in a route like:
> {code:java}
> from("undertow://http://0.0.0.0:8080";)
>     .unmarshal().cloudEvents()
>     .to("kafka:my-topic");
> {code}
> the exchange gets automatically translated to a Kafka message according to 
> the CloudEvent binding specs for Kafka.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to