You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/11/19 15:14:00 UTC

[jira] [Work logged] (CAMEL-14192) Add a toMap data type converter to ProtobufDataFormat

     [ https://issues.apache.org/jira/browse/CAMEL-14192?focusedWorklogId=346026&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-346026 ]

ASF GitHub Bot logged work on CAMEL-14192:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 19/Nov/19 15:13
            Start Date: 19/Nov/19 15:13
    Worklog Time Spent: 10m 
      Work Description: omarsmak commented on pull request #3349: CAMEL-14192: Add a toMap data type converter to ProtobufDataFormat
URL: https://github.com/apache/camel/pull/3349
 
 
   This will add a data type converter to the protobuf data format to convert from proto message to Map. 
   *Note:* This addition won't break any existing functionality.    
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 346026)
    Remaining Estimate: 0h
            Time Spent: 10m

> Add a toMap data type converter to ProtobufDataFormat  
> -------------------------------------------------------
>
>                 Key: CAMEL-14192
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14192
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 3.0.0.RC3
>            Reporter: Omar Al-Safi
>            Assignee: Omar Al-Safi
>            Priority: Minor
>             Fix For: 3.0.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently the ProtobufDataFormat is doing a good job of converting a map to Protobuf Message without relying from other components converting the message to Protobuf message explicitly when marshalling message. However, when unmarshaling an exchange, the data format output from the unmarshaling process is either JSON or Proto Message. However, it will be also nice if it can output Map format. 
>  An easy way that I could think of is to add a DataTypeConverter with {{@converter}} annotation that will convert the data in case we do something like this {{exchange.getMessage().getBody(Map.class)}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)