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

Zia commented on CAMEL-17731:
-----------------------------

Hi [~kinae] ,

 

Thank you for responding! how to set longpollingTransportProperties to pick map 
in .properties file?   

i tried all but its not considering that property

~camel.component.salesforce.longPollingTransportProperties="\{'maxMessageSize':'4194304'}"~

 

~Thanks~

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

Reply via email to