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

Configure EntityProvider write properties on camel-olingo2

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.5.0
    • camel-olingo2
    • None
    • Unknown

    Description

      Create and update operations on the camel-olingo2 component use EntityProvider with EntityProviderWriteProperties in order to construct the content data in different data formats (Json, Atom, XML)

      At the moment these write properties are not configurable by the user. The Camel component just uses the default settings.

      With this default settings in place the Camel component always adds OData metadata to requests by default. This leads to errors when the target OData service (e.g. https://services.odata.org/V2/OData/OData.svc/) does not support metadata being added to the request.

      The EntityProviderWriteProperties has options to enable "contentOnly" settings for these kind of OData services. Users need to be able to set these write properties on the endpoint configuration.

      Attachments

        Issue Links

          Activity

            People

              christophd Christoph Deppisch
              christophd Christoph Deppisch
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: