[
https://issues.apache.org/jira/browse/CAMEL-18134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jawad Ahmad closed CAMEL-18134.
-------------------------------
Resolution: Not A Bug
> camel-salesforce - Maven plugin giving buffer capacity error
> ------------------------------------------------------------
>
> Key: CAMEL-18134
> URL: https://issues.apache.org/jira/browse/CAMEL-18134
> Project: Camel
> Issue Type: Bug
> Components: camel-salesforce
> Affects Versions: 3.16.0, 3.17.0
> Reporter: Jawad Ahmad
> Priority: Minor
>
> I am trying to generate Salesforce objects from Salesforce Health Cloud
> instance. As health cloud environments tend to have quite a lot of sObjects.
> When I try to generate a DTO/Pojo, I am seeing the buffering capacity error.
> {code:java}
> Buffering capacity 4194304 exceeded
> at org.eclipse.jetty.client.util.BufferingResponseListener.onContent
> (BufferingResponseListener.java:124)
> at org.eclipse.jetty.client.api.Response$ContentListener.onContent
> (Response.java:158)
> at org.eclipse.jetty.client.api.Response$AsyncContentListener.onContent
> (Response.java:189)
> at org.eclipse.jetty.client.ResponseNotifier.notifyContent
> (ResponseNotifier.java:155)
> at org.eclipse.jetty.client.ResponseNotifier.notifyContent
> (ResponseNotifier.java:139)
> at org.eclipse.jetty.client.HttpReceiver$ContentListeners.notifyContent
> (HttpReceiver.java:693)
> at org.eclipse.jetty.client.HttpReceiver$ContentListeners.access$500
> (HttpReceiver.java:655)
> at org.eclipse.jetty.client.HttpReceiver$Decoder.decodeChunk
> (HttpReceiver.java:836)
> at org.eclipse.jetty.client.HttpReceiver$Decoder.decode
> (HttpReceiver.java:788)
> at org.eclipse.jetty.client.HttpReceiver$Decoder.decode
> (HttpReceiver.java:768)
> at org.eclipse.jetty.client.HttpReceiver$Decoder.access$600
> (HttpReceiver.java:744)
> at org.eclipse.jetty.client.HttpReceiver.decodeResponseContent
> (HttpReceiver.java:386)
> at org.eclipse.jetty.client.HttpReceiver.responseContent
> (HttpReceiver.java:354)
> at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.content
> (HttpReceiverOverHTTP.java:332)
> at org.eclipse.jetty.http.HttpParser.parseContent (HttpParser.java:1840)
> at org.eclipse.jetty.http.HttpParser.parseNext (HttpParser.java:1551)
> at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.parse
> (HttpReceiverOverHTTP.java:208)
> at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.process
> (HttpReceiverOverHTTP.java:148)
> at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.receive
> (HttpReceiverOverHTTP.java:80)
> 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:409)
> at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob
> (QueuedThreadPool.java:883)
> at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run
> (QueuedThreadPool.java:1034)
> at java.lang.Thread.run (Thread.java:834)
> [DEBUG] Response abort HttpResponse[HTTP/1.1 200 OK]@5cff6b74
> HttpExchange@4041739c{req=SalesforceHttpRequest[GET
> /services/data/v52.0/sobjects/ HTTP/1.1]@1903b5d[TERMINATED/null]
> res=HttpResponse[HTTP/1.1 200
> OK]@5cff6b74[COMPLETED/java.lang.IllegalArgumentException: Buffering capacity
> 4194304 exceeded]} on
> HttpChannelOverHTTP@7d412966(exchange=HttpExchange@4041739c{req=SalesforceHttpRequest[GET
> /services/data/v52.0/sobjects/ HTTP/1.1]@1903b5d[TERMINATED/null]
> res=HttpResponse[HTTP/1.1 200
> OK]@5cff6b74[COMPLETED/java.lang.IllegalArgumentException: Buffering capacity
> 4194304
> exceeded]})[send=HttpSenderOverHTTP@60697d30(req=QUEUED,snd=COMPLETED,failure=null)[HttpGenerator@694fccb3{s=START}],recv=HttpReceiverOverHTTP@4a082789(rsp=FAILURE,failure=java.lang.IllegalArgumentException:
> Buffering capacity 4194304 exceeded)[HttpParser{s=CHUNK,187216 of -1}]]: {}
> {code}
> I tried binding property value to httpClientProperties as well but it was
> failling.
> <httpClientProperties>
> <responseBufferSize>4194304456</responseBufferSize>
> </httpClientProperties>
--
This message was sent by Atlassian Jira
(v8.20.7#820007)