You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/09/05 19:08:08 UTC
[GitHub] [camel-quarkus] zbendhiba opened a new issue #3067: Salesforce : Impossible to custom fields for Platform events
zbendhiba opened a new issue #3067:
URL: https://github.com/apache/camel-quarkus/issues/3067
I tried to add an integration tests, that uses a Platform event with custom fields. While running on native mode, I get the following error.
`Test_Field__c` is the custom field.
```
2021-09-05 19:14:37,242 INFO [org.com.bay.cli.ClientSession] (SalesforceHttpClient@298295d0-12) Exception while invoking listener org.apache.camel.component.salesforce.internal.streaming.SubscriptionHelper$6@567e576d: java.lang.IllegalArgumentException: Unrecognized field "Test_Field__c" (class org.apache.camel.component.salesforce.api.dto.PlatformEvent), not marked as ignorable (2 known properties: "CreatedById", "CreatedDate"])
at [Source: UNKNOWN; line: -1, column: -1] (through reference chain: org.apache.camel.component.salesforce.api.dto.PlatformEvent["Test_Field__c"])
at com.fasterxml.jackson.databind.ObjectMapper._convert(ObjectMapper.java:4314)
at com.fasterxml.jackson.databind.ObjectMapper.convertValue(ObjectMapper.java:4245)
at org.apache.camel.component.salesforce.SalesforceConsumer.createPlatformEventMessage(SalesforceConsumer.java:221)
at org.apache.camel.component.salesforce.SalesforceConsumer.processMessage(SalesforceConsumer.java:153)
at org.apache.camel.component.salesforce.internal.streaming.SubscriptionHelper$6.onMessage(SubscriptionHelper.java:442)
at org.cometd.common.AbstractClientSession$AbstractSessionChannel.notifyOnMessage(AbstractClientSession.java:583)
at org.cometd.common.AbstractClientSession$AbstractSessionChannel.notifyMessageListeners(AbstractClientSession.java:574)
at org.cometd.common.AbstractClientSession.notifyListeners(AbstractClientSession.java:308)
at org.cometd.common.AbstractClientSession.lambda$receive$4(AbstractClientSession.java:269)
at org.cometd.bayeux.Promise$2.succeed(Promise.java:103)
at org.cometd.common.AsyncFoldLeft$AbstractLoop.run(AsyncFoldLeft.java:199)
at org.cometd.common.AsyncFoldLeft.run(AsyncFoldLeft.java:93)
at org.cometd.common.AbstractClientSession.extendIncoming(AbstractClientSession.java:103)
at org.cometd.common.AbstractClientSession.receive(AbstractClientSession.java:263)
at org.cometd.client.BayeuxClient.processMessage(BayeuxClient.java:798)
at org.cometd.client.BayeuxClient.processMessages(BayeuxClient.java:621)
at org.cometd.client.BayeuxClient.access$2000(BayeuxClient.java:101)
at org.cometd.client.BayeuxClient$MessageTransportListener.onMessages(BayeuxClient.java:1260)
at org.cometd.client.transport.LongPollingTransport$2.onComplete(LongPollingTransport.java:240)
at org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:218)
at org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:210)
at org.eclipse.jetty.client.HttpReceiver.terminateResponse(HttpReceiver.java:481)
at org.eclipse.jetty.client.HttpReceiver.terminateResponse(HttpReceiver.java:461)
at org.eclipse.jetty.client.HttpReceiver.responseSuccess(HttpReceiver.java:424)
at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.messageComplete(HttpReceiverOverHTTP.java:365)
at org.eclipse.jetty.http.HttpParser.handleContentMessage(HttpParser.java:591)
at org.eclipse.jetty.http.HttpParser.parseContent(HttpParser.java:1716)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:1545)
at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.parse(HttpReceiverOverHTTP.java:204)
at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.process(HttpReceiverOverHTTP.java:144)
at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.receive(HttpReceiverOverHTTP.java:79)
at org.eclipse.jetty.client.http.HttpChannelOverHTTP.receive(HttpChannelOverHTTP.java:131)
at org.eclipse.jetty.client.http.HttpConnectionOverHTTP.onFillable(HttpConnectionOverHTTP.java:172)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:555)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:410)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:164)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:383)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:882)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1036)
at java.lang.Thread.run(Thread.java:829)
at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:553)
at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:192)
```
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-quarkus] ppalaga closed issue #3067: Salesforce : Impossible to custom fields for Platform events
Posted by GitBox <gi...@apache.org>.
ppalaga closed issue #3067:
URL: https://github.com/apache/camel-quarkus/issues/3067
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org