jamesnetherton commented on code in PR #5503:
URL: https://github.com/apache/camel-quarkus/pull/5503#discussion_r1391347159


##########
docs/modules/ROOT/pages/reference/extensions/salesforce.adoc:
##########
@@ -84,6 +84,33 @@ To generate Salesforce DTOs for your project, use the 
`salesforce-maven-plugin`.
 </plugin>
 ----
 
+[id="extensions-salesforce-usage-native-mode-support-for-pub-sub-api-with-pojo-pubsubdeserializetype"]
+=== Native mode support for Pub / Sub API with POJO `pubSubDeserializeType`
+
+When using the Camel Salesforce Pub / Sub API and `pubSubDeserializeType` is 
configured as `POJO`, you must register any classes configured on the 
`pubSubPojoClass` option for reflection.
+
+For example, given the following route.
+
+[source,java]
+----
+from("salesforce:pubSubSubscribe:/event/TestEvent__e?pubSubDeserializeType=POJO&pubSubPojoClass=org.foo.TestEvent")
+    .log("Received Salesforce POJO topic message: ${body}");
+----
+

Review Comment:
   Latest commit adds a link to the native guide reflection section.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to