camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From darwinanirudh <darwinanir...@gmail.com>
Subject Re: Unable to insert body data into table using sql component
Date Thu, 04 May 2017 13:44:58 GMT
I tried 

<camel:convertBodyTo type="java.util.Map" />


but i am getting the following error :

 Caused by: No type converter available to convert from type: byte[] to the
required type: java.util.Map with value [B@1190966. Exchange[Message:
{"callDate":"2017-12-08","callDuration":"400","callTime":"17:50:15","aNum":"1241972582","bNum":"004152234","callType":"20","direction":"O","eventTransDet":[]}].
Caused by: [org.apache.camel.NoTypeConversionAvailableException - No type
converter available to convert from type: byte[] to the required type:
java.util.Map with value [B@1190966]




--
View this message in context: http://camel.465427.n5.nabble.com/Unable-to-insert-body-data-into-table-using-sql-component-tp5798623p5798646.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message