You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Anthony Defraine (Jira)" <ji...@apache.org> on 2022/03/01 23:00:00 UTC

[jira] [Commented] (CAMEL-17731) Connect failure : exception=java.lang.IllegalArgumentException: Buffering capacity 1048576 exceeded

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

Anthony Defraine commented on CAMEL-17731:
------------------------------------------

Looks like the httpRequestBufferSize is not the correct properties.

From a similar issue [https://github.com/forcedotcom/EMP-Connector/issues/60] : 
|Increase the maxBufferSize in the BayeuxParameters (make sure that the longPollingOptions includes that value keyed by 'maxMessageSize').|

Camel properties : *longPollingTransportProperties* 
[https://camel.apache.org/components/3.11.x/salesforce-component.html]

> Connect failure : exception=java.lang.IllegalArgumentException: Buffering capacity 1048576 exceeded
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-17731
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17731
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-salesforce
>    Affects Versions: 3.11.1
>            Reporter: Zia
>            Priority: Major
>
> Hi All,
>  
> I am using CamelSalesforceSourceConnector kakfa connector and getting below error:-
> ~[2022-03-02 01:31:28,026] WARN Connect failure: \{failure={exception=java.lang.IllegalArgumentException: Buffering capacity 1048576 exceeded, message={clientId=1t911eix104cwghea2qe1aljljsl, channel=/meta/connect, id=59, connectionType=long-polling}, connectionType=long-polling}, channel=/meta/connect, id=59, successful=false} (org.apache.camel.component.salesforce.internal.streaming.SubscriptionHelper:174)~
> ~[2022-03-02 02:13:50,736] INFO Restarting on unexpected disconnect from Salesforce... (org.apache.camel.component.salesforce.internal.streaming.SubscriptionHelper:262)~
>  
> i have set bufer size of the connector  still i see same error:-
> camel.component.salesforce.httpRequestBufferSize=24576
>  
> kindly help



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