ppalaga commented on a change in pull request #2052:
URL: https://github.com/apache/camel-quarkus/pull/2052#discussion_r534833201



##########
File path: docs/modules/ROOT/pages/reference/extensions/google-pubsub.adoc
##########
@@ -32,3 +32,12 @@ Please refer to the above link for usage and configuration 
details.
 ----
 
 Check the xref:user-guide/index.adoc[User guide] for more information about 
writing Camel Quarkus applications.
+
+== Camel Quarkus limitations
+
+By default, the Camel PubSub component uses JDK object serialization via 
`ObjectOutputStream` whenever the message body is anything other than `String` 
or `byte[]`.
+
+Since such serialization is not yet supported by GraalVM, this extension 
provides a custom Jackson based serializer to serialize complex message 
payloads as JSON.
+
+If your payload contains binary data, then you will need to handle that by 
creating a custom Jackson Serializer / Deserializer.

Review comment:
       I guess the readers could find this link to Quarkus Jackson guide 
helpful https://quarkus.io/guides/writing-extensions#customizing-jackson where 
they explain how to write serializers.




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to