[ 
https://issues.apache.org/jira/browse/CAMEL-17942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17521248#comment-17521248
 ] 

Dale Olzer commented on CAMEL-17942:
------------------------------------

Thank you [~jeremyross]     adding the httpClientProperties configuration to 
the pom worked.

> camel-salesforce - HTTP responses over 4 MB fail
> ------------------------------------------------
>
>                 Key: CAMEL-17942
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17942
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-salesforce
>    Affects Versions: 3.15.0, 3.16.0
>            Reporter: Dale Olzer
>            Priority: Minor
>
> This is issue appears in camel version 3.7 - 3.16  ,   camel 3.1 - 3.6 runs 
> fine.
>  
> [DEBUG] Response abort HttpResponse[HTTP/1.1 200 OK]@6d2a2560 
> HttpExchange@1a47a1e8\{req=SalesforceHttpRequest[GET 
> /services/data/v53.0/sobjects/ HTTP/1.1]@6a916402[TERMINATED/null] 
> res=HttpResponse[HTTP/1.1 200 
> OK]@6d2a2560[COMPLETED/java.lang.IllegalArgumentException: Buffering capacity 
> 4194304 exceeded]} on 
> HttpChannelOverHTTP@19c3c81d(exchange=HttpExchange@1a47a1e8\{req=SalesforceHttpRequest[GET
>  /services/data/v53.0/sobjects/ HTTP/1.1]@6a916402[TERMINATED/null] 
> res=HttpResponse[HTTP/1.1 200 
> OK]@6d2a2560[COMPLETED/java.lang.IllegalArgumentException: Buffering capacity 
> 4194304 
> exceeded]})[send=HttpSenderOverHTTP@20110a97(req=QUEUED,snd=COMPLETED,failure=null)[HttpGenerator@dafc37\{s=START}],recv=HttpReceiverOverHTTP@55a955d5(rsp=FAILURE,failure=java.lang.IllegalArgumentException:
>  Buffering capacity 4194304 exceeded)[HttpParser\{s=CHUNK,171773 of -1}]]: {}
> java.lang.IllegalArgumentException: 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)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to