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

Luis commented on CAMEL-11174:
------------------------------

Hi [~dmvolod]:

This is cool I did not knew this, but the use case that I am also thinking of 
is to be able to expose the swagger documentation of a gRCP IDL via camel rest 
swagger interface.
This already exists done by Google example is: 
#https://github.com/grpc-ecosystem/grpc-gateway
#https://speakerdeck.com/thesandlord/grpc-vs-rest-api-strat-2016



> REST-DSL support for Google Protobuf
> ------------------------------------
>
>                 Key: CAMEL-11174
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11174
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Luis
>
> It would be nice to be able to output something other that just XML/JSON
> from a camel rest dsl route, namely Google Protobuf or Apache thrift.
> The idea would be that one could have addional MIME types add one could 
> define how they are handled.
> So for example application/x-protobuf could be handle by Protobuf.
> One example article that comes to mind is:
> https://javarants.com/using-jax-rs-with-protocol-buffers-for-high-performance-rest-apis-563ce40d15d9



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to