[
https://issues.apache.org/jira/browse/CAMEL-15679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17213151#comment-17213151
]
Claus Ibsen commented on CAMEL-15679:
-------------------------------------
Yeah but binary data is harder to represent in json. So this would only work
for payloads that are text based, or for binary then it would need to be
represented as some kind of blob.
But a pluggable serializer would be nice. And yeah its also good to get rid of
hawtbuf as that project is EOL.
> LevelDB: Consider replacing of serizalization via
> org.fusesource.hawtbuf:hawtbuf with Jackson
> ---------------------------------------------------------------------------------------------
>
> Key: CAMEL-15679
> URL: https://issues.apache.org/jira/browse/CAMEL-15679
> Project: Camel
> Issue Type: Improvement
> Components: camel-leveldb
> Affects Versions: 3.5.0
> Reporter: Jiri Ondrusek
> Assignee: Jiri Ondrusek
> Priority: Major
>
> Current implementation of serialization is based on
> `org.fusesource.hawtbuf:hawtbuf` and java object serialization. It would be
> better to use Jackson instead. Here are some reasons:
> # Serialization with Jackson is faster (see
> [http://rick-hightower.blogspot.com/2014/04/which-is-faster-java-object.html])
> # Camel-quarkus can not use java object serialization in native (see
> [https://github.com/oracle/graal/issues/460]) Current workaround uses Jackson
> instead.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)