You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Christoph Deppisch (Jira)" <ji...@apache.org> on 2020/08/13 11:17:00 UTC

[jira] [Created] (CAMEL-15406) Configure EntityProvider write properties on camel-olingo2

Christoph Deppisch created CAMEL-15406:
------------------------------------------

             Summary: Configure EntityProvider write properties on camel-olingo2
                 Key: CAMEL-15406
                 URL: https://issues.apache.org/jira/browse/CAMEL-15406
             Project: Camel
          Issue Type: Improvement
          Components: camel-olingo2
            Reporter: Christoph Deppisch


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)