[
https://issues.apache.org/jira/browse/CAMEL-15861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-15861.
---------------------------------
Resolution: Fixed
> Add the capability to provide a custom serializer to GooglePubSubProducer
> -------------------------------------------------------------------------
>
> Key: CAMEL-15861
> URL: https://issues.apache.org/jira/browse/CAMEL-15861
> Project: Camel
> Issue Type: Improvement
> Components: camel-google-pubsub
> Reporter: James Netherton
> Assignee: James Netherton
> Priority: Minor
> Fix For: 3.7.0
>
>
> GooglePubSubProducer does some conversion of the message body before it gets
> sent to the destination topic, so that is of the expected ByteString type.
> If the payload is String or byte[], then the conversion is simple. Any other
> type is serialized via ObjectOutputStream.
> This is problematic for camel-quarkus and native support because JDK
> serialization via ObjectOutputStream is not supported. Hence, it'd be nice if
> there was a way to provide a custom serializer that uses an alternate
> mechanism. E.g one that uses Jackson -> JSON etc.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)