You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Hemang Ajmera (JIRA)" <ji...@apache.org> on 2019/07/22 09:16:00 UTC
[jira] [Comment Edited] (CAMEL-13770) Properties of class Map does
not work with Spring Boot 2.x
[ https://issues.apache.org/jira/browse/CAMEL-13770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16890022#comment-16890022 ]
Hemang Ajmera edited comment on CAMEL-13770 at 7/22/19 9:15 AM:
----------------------------------------------------------------
I was using camel.component.
{code:java}
salesforce.http-client-properties.requestBufferSize=65536
{code}
Since we have very long query. The default value is not sufficient.
If this parameter is not used, we get exception
{code}
Caused by: org.eclipse.jetty.http.BadMessageException: 500: Request header too large
{code}
I also run in debug mode, where I can see httpClientProperties in SalesforceComponent as empty in new version and initialized with requestBufferSize in old version.
was (Author: hemangajmera):
I was using camel.component.
{code:java}
salesforce.http-client-properties.requestBufferSize=65536
{code}
Since we have very long query. The default value is not sufficient.
If this parameter is not used, we get exception
{code}
Caused by: org.eclipse.jetty.http.BadMessageException: 500: Request header too large
{code}
I also run in debug mode. When using old version, I can see httpClientProperties in SalesforceComponent as empty in new version and initialized with requestBufferSize in old version.
> Properties of class Map does not work with Spring Boot 2.x
> ----------------------------------------------------------
>
> Key: CAMEL-13770
> URL: https://issues.apache.org/jira/browse/CAMEL-13770
> Project: Camel
> Issue Type: Bug
> Components: camel-salesforce, camel-spring-boot-starters
> Affects Versions: 2.22.0, 2.23.3, 2.24.1
> Reporter: Hemang Ajmera
> Priority: Major
> Attachments: screenshot-with-2.21.1.png, screenshot-with-2.24.1.png
>
>
> From version 2.22.0 onwards spring-boot version is upgraded to 2.x
> After that all Map properties are not working
> For example in application.properties
> camel.component.salesforce.http-client-properties is treated as string instead of Map and whatever value we provide to it, the Map is initialize as null
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)