Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-17127

camel-salesforce - Default Bulk API V2 client does not allow locator and maxRecords query param to be added for get query results endpoint.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.13.0
    • camel-salesforce
    • Unknown

    Description

      Salesforce Bulk API v2 Get Query Job Result endpoint has provision to pass locator and maxRecords query params in url which allows pagination in case of huge data set but "

      bulk2GetQueryJobResults" operation of camel-salesforce component have a hardcoded url which does not have these queryparam:
      https://github.com/apache/camel/blob/aef037026f354bfe09f4009821a027ca535a1619/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/client/DefaultBulkApiV2Client.java#L204

      Therefore, if a data set is too big then we can only receive data of first page/file and there is no way to get next set of data.

      Attachments

        Issue Links

          Activity

            People

              jeremyross Jeremy Ross
              coolashu321@gmail.com Ashutosh Gupta
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: