This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
commit e819c54d73f09081a3eb73e5da724b8cdc175ff7 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Wed Aug 19 10:44:45 2020 +0200 Regen and sync properties --- camel-dependencies/pom.xml | 2 +- .../apache/camel/catalog/components/olingo2.json | 4 +- .../camel/catalog/docs/olingo2-component.adoc | 4 +- .../component/olingo2/api/impl/Olingo2AppImpl.java | 17 +- .../Olingo2AppEndpointConfigurationConfigurer.java | 1 + .../dsl/Olingo2EndpointBuilderFactory.java | 515 ++++++++++----------- .../modules/ROOT/pages/olingo2-component.adoc | 4 +- 7 files changed, 274 insertions(+), 273 deletions(-) diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml index 6ff9d12..1e45a05 100644 --- a/camel-dependencies/pom.xml +++ b/camel-dependencies/pom.xml @@ -71,7 +71,7 @@ <awaitility-version>4.0.3</awaitility-version> <aws-java-sdk-swf-libs>1.11.22</aws-java-sdk-swf-libs> <aws-java-sdk-version>1.11.714</aws-java-sdk-version> - <aws-java-sdk2-version>2.14.0</aws-java-sdk2-version> + <aws-java-sdk2-version>2.14.1</aws-java-sdk2-version> <aws-xray-version>2.6.1</aws-xray-version> <axiom-version>1.2.14</axiom-version> <azure-eventhubs-checkpointstore-blob-version>1.1.2</azure-eventhubs-checkpointstore-blob-version> diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/olingo2.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/olingo2.json index c477291..f07ed5a 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/olingo2.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/olingo2.json @@ -25,7 +25,7 @@ "connectTimeout": { "kind": "property", "displayName": "Connect Timeout", "group": "common", "label": "", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "secret": false, "defaultValue": "30000", "configurationClass": "org.apache.camel.component.olingo2.Olingo2Configuration", "configurationField": "configuration", "description": "HTTP connection creation timeout in milliseconds, defaults to 30,000 (30 seconds)" }, "contentType": { "kind": "property", "displayName": "Content Type", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "defaultValue": "application\/json;charset=utf-8", "configurationClass": "org.apache.camel.component.olingo2.Olingo2Configuration", "configurationField": "configuration", "description": "Content-Type header value can be used to specify JSON or XML message format, defaults to appli [...] "entityProviderReadProperties": { "kind": "property", "displayName": "Entity Provider Read Properties", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.apache.olingo.odata2.api.ep.EntityProviderReadProperties", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.olingo2.Olingo2Configuration", "configurationField": "configuration", "description": "Custom entity provider read properties applied to all read operat [...] - "entityProviderWriteProperties": { "kind": "property", "displayName": "Entity Provider Write Properties", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.olingo2.Olingo2Configuration", "configurationField": "configuration", "description": "Custom entity provider write properties applied to create, upd [...] + "entityProviderWriteProperties": { "kind": "property", "displayName": "Entity Provider Write Properties", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.olingo2.Olingo2Configuration", "configurationField": "configuration", "description": "Custom entity provider write properties applied to create, upd [...] "filterAlreadySeen": { "kind": "property", "displayName": "Filter Already Seen", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.olingo2.Olingo2Configuration", "configurationField": "configuration", "description": "Set this to true to filter out results that have already been communicated by this component." }, "httpHeaders": { "kind": "property", "displayName": "Http Headers", "group": "common", "label": "", "required": false, "type": "object", "javaType": "java.util.Map<java.lang.String, java.lang.String>", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.olingo2.Olingo2Configuration", "configurationField": "configuration", "description": "Custom HTTP headers to inject into every request, this could include OAuth tokens, etc." }, "proxy": { "kind": "property", "displayName": "Proxy", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.apache.http.HttpHost", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.olingo2.Olingo2Configuration", "configurationField": "configuration", "description": "HTTP proxy server configuration" }, @@ -46,7 +46,7 @@ "connectTimeout": { "kind": "parameter", "displayName": "Connect Timeout", "group": "common", "label": "", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "secret": false, "defaultValue": "30000", "configurationClass": "org.apache.camel.component.olingo2.Olingo2Configuration", "configurationField": "configuration", "description": "HTTP connection creation timeout in milliseconds, defaults to 30,000 (30 seconds)" }, "contentType": { "kind": "parameter", "displayName": "Content Type", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "defaultValue": "application\/json;charset=utf-8", "configurationClass": "org.apache.camel.component.olingo2.Olingo2Configuration", "configurationField": "configuration", "description": "Content-Type header value can be used to specify JSON or XML message format, defaults to appl [...] "entityProviderReadProperties": { "kind": "parameter", "displayName": "Entity Provider Read Properties", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.apache.olingo.odata2.api.ep.EntityProviderReadProperties", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.olingo2.Olingo2Configuration", "configurationField": "configuration", "description": "Custom entity provider read properties applied to all read opera [...] - "entityProviderWriteProperties": { "kind": "parameter", "displayName": "Entity Provider Write Properties", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.olingo2.Olingo2Configuration", "configurationField": "configuration", "description": "Custom entity provider write properties applied to create, up [...] + "entityProviderWriteProperties": { "kind": "parameter", "displayName": "Entity Provider Write Properties", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.olingo2.Olingo2Configuration", "configurationField": "configuration", "description": "Custom entity provider write properties applied to create, up [...] "filterAlreadySeen": { "kind": "parameter", "displayName": "Filter Already Seen", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.olingo2.Olingo2Configuration", "configurationField": "configuration", "description": "Set this to true to filter out results that have already been communicated by this component." }, "httpHeaders": { "kind": "parameter", "displayName": "Http Headers", "group": "common", "label": "", "required": false, "type": "object", "javaType": "java.util.Map<java.lang.String, java.lang.String>", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.olingo2.Olingo2Configuration", "configurationField": "configuration", "description": "Custom HTTP headers to inject into every request, this could include OAuth tokens, etc." }, "inBody": { "kind": "parameter", "displayName": "In Body", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "Sets the name of a parameter to be passed in the exchange In Body" }, diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/olingo2-component.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/olingo2-component.adoc index 09b70ee..bd2e800 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/olingo2-component.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/olingo2-component.adoc @@ -63,7 +63,7 @@ The Olingo2 component supports 18 options, which are listed below. | *connectTimeout* (common) | HTTP connection creation timeout in milliseconds, defaults to 30,000 (30 seconds) | 30000 | int | *contentType* (common) | Content-Type header value can be used to specify JSON or XML message format, defaults to application/json;charset=utf-8 | application/json;charset=utf-8 | String | *entityProviderReadProperties* (common) | Custom entity provider read properties applied to all read operations. | | EntityProviderReadProperties -| *entityProviderWriteProperties* (common) | Custom entity provider write properties applied to create, update and merge operations. For instance users can enable content only settings and skip meta data wrappers when sending request data. | | EntityProviderWriteProperties +| *entityProviderWriteProperties* (common) | Custom entity provider write properties applied to create, update, patch, batch and merge operations. For instance users can skip the Json object wrapper or enable content only mode when sending request data. A service URI set in the properties will always be overwritten by the serviceUri configuration parameter. Please consider to using the serviceUri configuration parameter instead of setting the respective write property here. | | EntityPr [...] | *filterAlreadySeen* (common) | Set this to true to filter out results that have already been communicated by this component. | false | boolean | *httpHeaders* (common) | Custom HTTP headers to inject into every request, this could include OAuth tokens, etc. | | Map | *proxy* (common) | HTTP proxy server configuration | | HttpHost @@ -114,7 +114,7 @@ with the following path and query parameters: | *connectTimeout* (common) | HTTP connection creation timeout in milliseconds, defaults to 30,000 (30 seconds) | 30000 | int | *contentType* (common) | Content-Type header value can be used to specify JSON or XML message format, defaults to application/json;charset=utf-8 | application/json;charset=utf-8 | String | *entityProviderReadProperties* (common) | Custom entity provider read properties applied to all read operations. | | EntityProviderReadProperties -| *entityProviderWriteProperties* (common) | Custom entity provider write properties applied to create, update and merge operations. For instance users can enable content only settings and skip meta data wrappers when sending request data. | | EntityProviderWriteProperties +| *entityProviderWriteProperties* (common) | Custom entity provider write properties applied to create, update, patch, batch and merge operations. For instance users can skip the Json object wrapper or enable content only mode when sending request data. A service URI set in the properties will always be overwritten by the serviceUri configuration parameter. Please consider to using the serviceUri configuration parameter instead of setting the respective write property here. | | EntityPr [...] | *filterAlreadySeen* (common) | Set this to true to filter out results that have already been communicated by this component. | false | boolean | *httpHeaders* (common) | Custom HTTP headers to inject into every request, this could include OAuth tokens, etc. | | Map | *inBody* (common) | Sets the name of a parameter to be passed in the exchange In Body | | String diff --git a/components/camel-olingo2/camel-olingo2-api/src/main/java/org/apache/camel/component/olingo2/api/impl/Olingo2AppImpl.java b/components/camel-olingo2/camel-olingo2-api/src/main/java/org/apache/camel/component/olingo2/api/impl/Olingo2AppImpl.java index f074d9f..4af8c9d 100644 --- a/components/camel-olingo2/camel-olingo2-api/src/main/java/org/apache/camel/component/olingo2/api/impl/Olingo2AppImpl.java +++ b/components/camel-olingo2/camel-olingo2-api/src/main/java/org/apache/camel/component/olingo2/api/impl/Olingo2AppImpl.java @@ -376,9 +376,9 @@ public final class Olingo2AppImpl implements Olingo2App { // merge operation must use data based property serialization in order to not overwrite // unspecified properties with null values - EntityProviderWriteProperties entityProviderWriteProperties = - EntityProviderWriteProperties.fromProperties(getEntityProviderWriteProperties()) - .isDataBasedPropertySerialization(true).build(); + EntityProviderWriteProperties entityProviderWriteProperties + = EntityProviderWriteProperties.fromProperties(getEntityProviderWriteProperties()) + .isDataBasedPropertySerialization(true).build(); augmentWithETag(edm, resourcePath, endpointHttpHeaders, new HttpMerge(createUri(resourcePath, null)), request -> writeContent(edm, (HttpMerge) request, uriInfo, endpointHttpHeaders, data, responseHandler, entityProviderWriteProperties), @@ -778,8 +778,9 @@ public final class Olingo2AppImpl implements Olingo2App { } } - private ODataResponse writeContent(Edm edm, UriInfoWithType uriInfo, - Object content, EntityProviderWriteProperties entityProviderWriteProperties) + private ODataResponse writeContent( + Edm edm, UriInfoWithType uriInfo, + Object content, EntityProviderWriteProperties entityProviderWriteProperties) throws ODataApplicationException, EdmException, EntityProviderException, URISyntaxException, IOException { String responseContentType = getContentType(); @@ -812,7 +813,7 @@ public final class Olingo2AppImpl implements Olingo2App { final EdmEntitySet targetLinkEntitySet = uriInfo.getTargetEntitySet(); EntityProviderWriteProperties linkProperties = EntityProviderWriteProperties.fromProperties(entityProviderWriteProperties) - .serviceRoot(new URI(serviceUri + SEPARATOR)).build(); + .serviceRoot(new URI(serviceUri + SEPARATOR)).build(); @SuppressWarnings("unchecked") final Map<String, Object> linkMap = (Map<String, Object>) content; response = EntityProvider.writeLink(responseContentType, targetLinkEntitySet, linkMap, linkProperties); @@ -823,7 +824,7 @@ public final class Olingo2AppImpl implements Olingo2App { final EdmEntitySet targetLinksEntitySet = uriInfo.getTargetEntitySet(); EntityProviderWriteProperties linksProperties = EntityProviderWriteProperties.fromProperties(entityProviderWriteProperties) - .serviceRoot(new URI(serviceUri + SEPARATOR)).build(); + .serviceRoot(new URI(serviceUri + SEPARATOR)).build(); @SuppressWarnings("unchecked") final List<Map<String, Object>> linksMap = (List<Map<String, Object>>) content; response = EntityProvider.writeLinks(responseContentType, targetLinksEntitySet, linksMap, linksProperties); @@ -837,7 +838,7 @@ public final class Olingo2AppImpl implements Olingo2App { final EdmEntitySet targetEntitySet = uriInfo.getTargetEntitySet(); EntityProviderWriteProperties properties = EntityProviderWriteProperties.fromProperties(entityProviderWriteProperties) - .serviceRoot(new URI(serviceUri + SEPARATOR)).build(); + .serviceRoot(new URI(serviceUri + SEPARATOR)).build(); @SuppressWarnings("unchecked") final Map<String, Object> objectMap = (Map<String, Object>) content; response = EntityProvider.writeEntry(responseContentType, targetEntitySet, objectMap, properties); diff --git a/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/Olingo2AppEndpointConfigurationConfigurer.java b/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/Olingo2AppEndpointConfigurationConfigurer.java index ea448a4..383375c 100644 --- a/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/Olingo2AppEndpointConfigurationConfigurer.java +++ b/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/Olingo2AppEndpointConfigurationConfigurer.java @@ -7,6 +7,7 @@ import org.apache.camel.CamelContext; import org.apache.camel.spi.GeneratedPropertyConfigurer; import org.apache.camel.spi.PropertyConfigurerGetter; import org.apache.camel.util.CaseInsensitiveMap; +import org.apache.camel.component.olingo2.Olingo2AppEndpointConfiguration; /** * Generated by camel build tools - do NOT edit this file! diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Olingo2EndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Olingo2EndpointBuilderFactory.java index 04ce270..26fa6f5 100644 --- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Olingo2EndpointBuilderFactory.java +++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Olingo2EndpointBuilderFactory.java @@ -16,11 +16,10 @@ */ package org.apache.camel.builder.endpoint.dsl; -import javax.annotation.Generated; import java.util.Map; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; - +import javax.annotation.Generated; import org.apache.camel.ExchangePattern; import org.apache.camel.LoggingLevel; import org.apache.camel.builder.EndpointConsumerBuilder; @@ -31,7 +30,7 @@ import org.apache.camel.spi.PollingConsumerPollStrategy; /** * Communicate with OData 2.0 services using Apache Olingo. - * + * * Generated by camel build tools - do NOT edit this file! */ @Generated("org.apache.camel.maven.packaging.EndpointDslMojo") @@ -50,9 +49,9 @@ public interface Olingo2EndpointBuilderFactory { /** * HTTP connection creation timeout in milliseconds, defaults to 30,000 * (30 seconds). - * + * * The option is a: <code>int</code> type. - * + * * Default: 30000 * Group: common */ @@ -63,9 +62,9 @@ public interface Olingo2EndpointBuilderFactory { /** * HTTP connection creation timeout in milliseconds, defaults to 30,000 * (30 seconds). - * + * * The option will be converted to a <code>int</code> type. - * + * * Default: 30000 * Group: common */ @@ -77,9 +76,9 @@ public interface Olingo2EndpointBuilderFactory { /** * Content-Type header value can be used to specify JSON or XML message * format, defaults to application/json;charset=utf-8. - * + * * The option is a: <code>java.lang.String</code> type. - * + * * Default: application/json;charset=utf-8 * Group: common */ @@ -90,10 +89,10 @@ public interface Olingo2EndpointBuilderFactory { /** * Custom entity provider read properties applied to all read * operations. - * + * * The option is a: * <code>org.apache.olingo.odata2.api.ep.EntityProviderReadProperties</code> type. - * + * * Group: common */ default Olingo2EndpointConsumerBuilder entityProviderReadProperties( @@ -104,10 +103,10 @@ public interface Olingo2EndpointBuilderFactory { /** * Custom entity provider read properties applied to all read * operations. - * + * * The option will be converted to a * <code>org.apache.olingo.odata2.api.ep.EntityProviderReadProperties</code> type. - * + * * Group: common */ default Olingo2EndpointConsumerBuilder entityProviderReadProperties( @@ -123,10 +122,10 @@ public interface Olingo2EndpointBuilderFactory { * by the serviceUri configuration parameter. Please consider to using * the serviceUri configuration parameter instead of setting the * respective write property here. - * + * * The option is a: * <code>org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties</code> type. - * + * * Group: common */ default Olingo2EndpointConsumerBuilder entityProviderWriteProperties( @@ -142,10 +141,10 @@ public interface Olingo2EndpointBuilderFactory { * by the serviceUri configuration parameter. Please consider to using * the serviceUri configuration parameter instead of setting the * respective write property here. - * + * * The option will be converted to a * <code>org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties</code> type. - * + * * Group: common */ default Olingo2EndpointConsumerBuilder entityProviderWriteProperties( @@ -156,9 +155,9 @@ public interface Olingo2EndpointBuilderFactory { /** * Set this to true to filter out results that have already been * communicated by this component. - * + * * The option is a: <code>boolean</code> type. - * + * * Default: false * Group: common */ @@ -170,9 +169,9 @@ public interface Olingo2EndpointBuilderFactory { /** * Set this to true to filter out results that have already been * communicated by this component. - * + * * The option will be converted to a <code>boolean</code> type. - * + * * Default: false * Group: common */ @@ -184,10 +183,10 @@ public interface Olingo2EndpointBuilderFactory { /** * Custom HTTP headers to inject into every request, this could include * OAuth tokens, etc. - * + * * The option is a: <code>java.util.Map<java.lang.String, * java.lang.String></code> type. - * + * * Group: common */ default Olingo2EndpointConsumerBuilder httpHeaders( @@ -198,11 +197,11 @@ public interface Olingo2EndpointBuilderFactory { /** * Custom HTTP headers to inject into every request, this could include * OAuth tokens, etc. - * + * * The option will be converted to a * <code>java.util.Map<java.lang.String, java.lang.String></code> * type. - * + * * Group: common */ default Olingo2EndpointConsumerBuilder httpHeaders(String httpHeaders) { @@ -211,9 +210,9 @@ public interface Olingo2EndpointBuilderFactory { } /** * Sets the name of a parameter to be passed in the exchange In Body. - * + * * The option is a: <code>java.lang.String</code> type. - * + * * Group: common */ default Olingo2EndpointConsumerBuilder inBody(String inBody) { @@ -222,9 +221,9 @@ public interface Olingo2EndpointBuilderFactory { } /** * HTTP proxy server configuration. - * + * * The option is a: <code>org.apache.http.HttpHost</code> type. - * + * * Group: common */ default Olingo2EndpointConsumerBuilder proxy(Object proxy) { @@ -233,10 +232,10 @@ public interface Olingo2EndpointBuilderFactory { } /** * HTTP proxy server configuration. - * + * * The option will be converted to a * <code>org.apache.http.HttpHost</code> type. - * + * * Group: common */ default Olingo2EndpointConsumerBuilder proxy(String proxy) { @@ -246,9 +245,9 @@ public interface Olingo2EndpointBuilderFactory { /** * Target OData service base URI, e.g. * http://services.odata.org/OData/OData.svc. - * + * * The option is a: <code>java.lang.String</code> type. - * + * * Group: common */ default Olingo2EndpointConsumerBuilder serviceUri(String serviceUri) { @@ -258,9 +257,9 @@ public interface Olingo2EndpointBuilderFactory { /** * HTTP request timeout in milliseconds, defaults to 30,000 (30 * seconds). - * + * * The option is a: <code>int</code> type. - * + * * Default: 30000 * Group: common */ @@ -271,9 +270,9 @@ public interface Olingo2EndpointBuilderFactory { /** * HTTP request timeout in milliseconds, defaults to 30,000 (30 * seconds). - * + * * The option will be converted to a <code>int</code> type. - * + * * Default: 30000 * Group: common */ @@ -290,9 +289,9 @@ public interface Olingo2EndpointBuilderFactory { * consumer will use the org.apache.camel.spi.ExceptionHandler to deal * with exceptions, that will be logged at WARN or ERROR level and * ignored. - * + * * The option is a: <code>boolean</code> type. - * + * * Default: false * Group: consumer */ @@ -309,9 +308,9 @@ public interface Olingo2EndpointBuilderFactory { * consumer will use the org.apache.camel.spi.ExceptionHandler to deal * with exceptions, that will be logged at WARN or ERROR level and * ignored. - * + * * The option will be converted to a <code>boolean</code> type. - * + * * Default: false * Group: consumer */ @@ -323,9 +322,9 @@ public interface Olingo2EndpointBuilderFactory { /** * If the polling consumer did not poll any files, you can enable this * option to send an empty message (no body) instead. - * + * * The option is a: <code>boolean</code> type. - * + * * Default: false * Group: consumer */ @@ -337,9 +336,9 @@ public interface Olingo2EndpointBuilderFactory { /** * If the polling consumer did not poll any files, you can enable this * option to send an empty message (no body) instead. - * + * * The option will be converted to a <code>boolean</code> type. - * + * * Default: false * Group: consumer */ @@ -352,9 +351,9 @@ public interface Olingo2EndpointBuilderFactory { * For endpoints that return an array or collection, a consumer endpoint * will map every element to distinct messages, unless splitResult is * set to false. - * + * * The option is a: <code>boolean</code> type. - * + * * Default: true * Group: consumer */ @@ -366,9 +365,9 @@ public interface Olingo2EndpointBuilderFactory { * For endpoints that return an array or collection, a consumer endpoint * will map every element to distinct messages, unless splitResult is * set to false. - * + * * The option will be converted to a <code>boolean</code> type. - * + * * Default: true * Group: consumer */ @@ -379,9 +378,9 @@ public interface Olingo2EndpointBuilderFactory { /** * The number of subsequent error polls (failed due some error) that * should happen before the backoffMultipler should kick-in. - * + * * The option is a: <code>int</code> type. - * + * * Group: scheduler */ default Olingo2EndpointConsumerBuilder backoffErrorThreshold( @@ -392,9 +391,9 @@ public interface Olingo2EndpointBuilderFactory { /** * The number of subsequent error polls (failed due some error) that * should happen before the backoffMultipler should kick-in. - * + * * The option will be converted to a <code>int</code> type. - * + * * Group: scheduler */ default Olingo2EndpointConsumerBuilder backoffErrorThreshold( @@ -405,9 +404,9 @@ public interface Olingo2EndpointBuilderFactory { /** * The number of subsequent idle polls that should happen before the * backoffMultipler should kick-in. - * + * * The option is a: <code>int</code> type. - * + * * Group: scheduler */ default Olingo2EndpointConsumerBuilder backoffIdleThreshold( @@ -418,9 +417,9 @@ public interface Olingo2EndpointBuilderFactory { /** * The number of subsequent idle polls that should happen before the * backoffMultipler should kick-in. - * + * * The option will be converted to a <code>int</code> type. - * + * * Group: scheduler */ default Olingo2EndpointConsumerBuilder backoffIdleThreshold( @@ -435,9 +434,9 @@ public interface Olingo2EndpointBuilderFactory { * attempt is happening again. When this option is in use then * backoffIdleThreshold and/or backoffErrorThreshold must also be * configured. - * + * * The option is a: <code>int</code> type. - * + * * Group: scheduler */ default Olingo2EndpointConsumerBuilder backoffMultiplier( @@ -452,9 +451,9 @@ public interface Olingo2EndpointBuilderFactory { * attempt is happening again. When this option is in use then * backoffIdleThreshold and/or backoffErrorThreshold must also be * configured. - * + * * The option will be converted to a <code>int</code> type. - * + * * Group: scheduler */ default Olingo2EndpointConsumerBuilder backoffMultiplier( @@ -464,9 +463,9 @@ public interface Olingo2EndpointBuilderFactory { } /** * Milliseconds before the next poll. - * + * * The option is a: <code>long</code> type. - * + * * Default: 500 * Group: scheduler */ @@ -476,9 +475,9 @@ public interface Olingo2EndpointBuilderFactory { } /** * Milliseconds before the next poll. - * + * * The option will be converted to a <code>long</code> type. - * + * * Default: 500 * Group: scheduler */ @@ -489,9 +488,9 @@ public interface Olingo2EndpointBuilderFactory { /** * If greedy is enabled, then the ScheduledPollConsumer will run * immediately again, if the previous run polled 1 or more messages. - * + * * The option is a: <code>boolean</code> type. - * + * * Default: false * Group: scheduler */ @@ -502,9 +501,9 @@ public interface Olingo2EndpointBuilderFactory { /** * If greedy is enabled, then the ScheduledPollConsumer will run * immediately again, if the previous run polled 1 or more messages. - * + * * The option will be converted to a <code>boolean</code> type. - * + * * Default: false * Group: scheduler */ @@ -514,9 +513,9 @@ public interface Olingo2EndpointBuilderFactory { } /** * Milliseconds before the first poll starts. - * + * * The option is a: <code>long</code> type. - * + * * Default: 1000 * Group: scheduler */ @@ -526,9 +525,9 @@ public interface Olingo2EndpointBuilderFactory { } /** * Milliseconds before the first poll starts. - * + * * The option will be converted to a <code>long</code> type. - * + * * Default: 1000 * Group: scheduler */ @@ -540,9 +539,9 @@ public interface Olingo2EndpointBuilderFactory { * Specifies a maximum limit of number of fires. So if you set it to 1, * the scheduler will only fire once. If you set it to 5, it will only * fire five times. A value of zero or negative means fire forever. - * + * * The option is a: <code>long</code> type. - * + * * Default: 0 * Group: scheduler */ @@ -554,9 +553,9 @@ public interface Olingo2EndpointBuilderFactory { * Specifies a maximum limit of number of fires. So if you set it to 1, * the scheduler will only fire once. If you set it to 5, it will only * fire five times. A value of zero or negative means fire forever. - * + * * The option will be converted to a <code>long</code> type. - * + * * Default: 0 * Group: scheduler */ @@ -567,9 +566,9 @@ public interface Olingo2EndpointBuilderFactory { /** * The consumer logs a start/complete log line when it polls. This * option allows you to configure the logging level for that. - * + * * The option is a: <code>org.apache.camel.LoggingLevel</code> type. - * + * * Default: TRACE * Group: scheduler */ @@ -581,10 +580,10 @@ public interface Olingo2EndpointBuilderFactory { /** * The consumer logs a start/complete log line when it polls. This * option allows you to configure the logging level for that. - * + * * The option will be converted to a * <code>org.apache.camel.LoggingLevel</code> type. - * + * * Default: TRACE * Group: scheduler */ @@ -597,10 +596,10 @@ public interface Olingo2EndpointBuilderFactory { * Allows for configuring a custom/shared thread pool to use for the * consumer. By default each consumer has its own single threaded thread * pool. - * + * * The option is a: * <code>java.util.concurrent.ScheduledExecutorService</code> type. - * + * * Group: scheduler */ default Olingo2EndpointConsumerBuilder scheduledExecutorService( @@ -612,10 +611,10 @@ public interface Olingo2EndpointBuilderFactory { * Allows for configuring a custom/shared thread pool to use for the * consumer. By default each consumer has its own single threaded thread * pool. - * + * * The option will be converted to a * <code>java.util.concurrent.ScheduledExecutorService</code> type. - * + * * Group: scheduler */ default Olingo2EndpointConsumerBuilder scheduledExecutorService( @@ -626,9 +625,9 @@ public interface Olingo2EndpointBuilderFactory { /** * To use a cron scheduler from either camel-spring or camel-quartz * component. - * + * * The option is a: <code>java.lang.String</code> type. - * + * * Default: none * Group: scheduler */ @@ -639,13 +638,13 @@ public interface Olingo2EndpointBuilderFactory { /** * To configure additional properties when using a custom scheduler or * any of the Quartz, Spring based scheduler. - * + * * The option is a: <code>java.util.Map<java.lang.String, * java.lang.Object></code> type. * The option is multivalued, and you can use the * schedulerProperties(String, Object) method to add a value (call the * method multiple times to set more values). - * + * * Group: scheduler */ default Olingo2EndpointConsumerBuilder schedulerProperties( @@ -657,13 +656,13 @@ public interface Olingo2EndpointBuilderFactory { /** * To configure additional properties when using a custom scheduler or * any of the Quartz, Spring based scheduler. - * + * * The option is a: <code>java.util.Map<java.lang.String, * java.lang.Object></code> type. * The option is multivalued, and you can use the * schedulerProperties(String, Object) method to add a value (call the * method multiple times to set more values). - * + * * Group: scheduler */ default Olingo2EndpointConsumerBuilder schedulerProperties(Map values) { @@ -672,9 +671,9 @@ public interface Olingo2EndpointBuilderFactory { } /** * Whether the scheduler should be auto started. - * + * * The option is a: <code>boolean</code> type. - * + * * Default: true * Group: scheduler */ @@ -685,9 +684,9 @@ public interface Olingo2EndpointBuilderFactory { } /** * Whether the scheduler should be auto started. - * + * * The option will be converted to a <code>boolean</code> type. - * + * * Default: true * Group: scheduler */ @@ -698,9 +697,9 @@ public interface Olingo2EndpointBuilderFactory { } /** * Time unit for initialDelay and delay options. - * + * * The option is a: <code>java.util.concurrent.TimeUnit</code> type. - * + * * Default: MILLISECONDS * Group: scheduler */ @@ -710,10 +709,10 @@ public interface Olingo2EndpointBuilderFactory { } /** * Time unit for initialDelay and delay options. - * + * * The option will be converted to a * <code>java.util.concurrent.TimeUnit</code> type. - * + * * Default: MILLISECONDS * Group: scheduler */ @@ -724,9 +723,9 @@ public interface Olingo2EndpointBuilderFactory { /** * Controls if fixed delay or fixed rate is used. See * ScheduledExecutorService in JDK for details. - * + * * The option is a: <code>boolean</code> type. - * + * * Default: true * Group: scheduler */ @@ -738,9 +737,9 @@ public interface Olingo2EndpointBuilderFactory { /** * Controls if fixed delay or fixed rate is used. See * ScheduledExecutorService in JDK for details. - * + * * The option will be converted to a <code>boolean</code> type. - * + * * Default: true * Group: scheduler */ @@ -751,10 +750,10 @@ public interface Olingo2EndpointBuilderFactory { } /** * To configure security using SSLContextParameters. - * + * * The option is a: * <code>org.apache.camel.support.jsse.SSLContextParameters</code> type. - * + * * Group: security */ default Olingo2EndpointConsumerBuilder sslContextParameters( @@ -764,10 +763,10 @@ public interface Olingo2EndpointBuilderFactory { } /** * To configure security using SSLContextParameters. - * + * * The option will be converted to a * <code>org.apache.camel.support.jsse.SSLContextParameters</code> type. - * + * * Group: security */ default Olingo2EndpointConsumerBuilder sslContextParameters( @@ -791,10 +790,10 @@ public interface Olingo2EndpointBuilderFactory { * option bridgeErrorHandler is enabled then this option is not in use. * By default the consumer will deal with exceptions, that will be * logged at WARN or ERROR level and ignored. - * + * * The option is a: <code>org.apache.camel.spi.ExceptionHandler</code> * type. - * + * * Group: consumer (advanced) */ default AdvancedOlingo2EndpointConsumerBuilder exceptionHandler( @@ -807,10 +806,10 @@ public interface Olingo2EndpointBuilderFactory { * option bridgeErrorHandler is enabled then this option is not in use. * By default the consumer will deal with exceptions, that will be * logged at WARN or ERROR level and ignored. - * + * * The option will be converted to a * <code>org.apache.camel.spi.ExceptionHandler</code> type. - * + * * Group: consumer (advanced) */ default AdvancedOlingo2EndpointConsumerBuilder exceptionHandler( @@ -820,9 +819,9 @@ public interface Olingo2EndpointBuilderFactory { } /** * Sets the exchange pattern when the consumer creates an exchange. - * + * * The option is a: <code>org.apache.camel.ExchangePattern</code> type. - * + * * Group: consumer (advanced) */ default AdvancedOlingo2EndpointConsumerBuilder exchangePattern( @@ -832,10 +831,10 @@ public interface Olingo2EndpointBuilderFactory { } /** * Sets the exchange pattern when the consumer creates an exchange. - * + * * The option will be converted to a * <code>org.apache.camel.ExchangePattern</code> type. - * + * * Group: consumer (advanced) */ default AdvancedOlingo2EndpointConsumerBuilder exchangePattern( @@ -848,10 +847,10 @@ public interface Olingo2EndpointBuilderFactory { * you to provide your custom implementation to control error handling * usually occurred during the poll operation before an Exchange have * been created and being routed in Camel. - * + * * The option is a: * <code>org.apache.camel.spi.PollingConsumerPollStrategy</code> type. - * + * * Group: consumer (advanced) */ default AdvancedOlingo2EndpointConsumerBuilder pollStrategy( @@ -864,10 +863,10 @@ public interface Olingo2EndpointBuilderFactory { * you to provide your custom implementation to control error handling * usually occurred during the poll operation before an Exchange have * been created and being routed in Camel. - * + * * The option will be converted to a * <code>org.apache.camel.spi.PollingConsumerPollStrategy</code> type. - * + * * Group: consumer (advanced) */ default AdvancedOlingo2EndpointConsumerBuilder pollStrategy( @@ -878,9 +877,9 @@ public interface Olingo2EndpointBuilderFactory { /** * Whether the endpoint should use basic property binding (Camel 2.x) or * the newer property binding with additional capabilities. - * + * * The option is a: <code>boolean</code> type. - * + * * Default: false * Group: advanced */ @@ -892,9 +891,9 @@ public interface Olingo2EndpointBuilderFactory { /** * Whether the endpoint should use basic property binding (Camel 2.x) or * the newer property binding with additional capabilities. - * + * * The option will be converted to a <code>boolean</code> type. - * + * * Default: false * Group: advanced */ @@ -908,11 +907,11 @@ public interface Olingo2EndpointBuilderFactory { * configuration, overrides connectionTimeout, socketTimeout, proxy and * sslContext. Note that a socketTimeout MUST be specified in the * builder, otherwise OData requests could block indefinitely. - * + * * The option is a: * <code>org.apache.http.impl.nio.client.HttpAsyncClientBuilder</code> * type. - * + * * Group: advanced */ default AdvancedOlingo2EndpointConsumerBuilder httpAsyncClientBuilder( @@ -925,11 +924,11 @@ public interface Olingo2EndpointBuilderFactory { * configuration, overrides connectionTimeout, socketTimeout, proxy and * sslContext. Note that a socketTimeout MUST be specified in the * builder, otherwise OData requests could block indefinitely. - * + * * The option will be converted to a * <code>org.apache.http.impl.nio.client.HttpAsyncClientBuilder</code> * type. - * + * * Group: advanced */ default AdvancedOlingo2EndpointConsumerBuilder httpAsyncClientBuilder( @@ -942,10 +941,10 @@ public interface Olingo2EndpointBuilderFactory { * configuration, overrides connectionTimeout, socketTimeout, proxy and * sslContext. Note that a socketTimeout MUST be specified in the * builder, otherwise OData requests could block indefinitely. - * + * * The option is a: * <code>org.apache.http.impl.client.HttpClientBuilder</code> type. - * + * * Group: advanced */ default AdvancedOlingo2EndpointConsumerBuilder httpClientBuilder( @@ -958,10 +957,10 @@ public interface Olingo2EndpointBuilderFactory { * configuration, overrides connectionTimeout, socketTimeout, proxy and * sslContext. Note that a socketTimeout MUST be specified in the * builder, otherwise OData requests could block indefinitely. - * + * * The option will be converted to a * <code>org.apache.http.impl.client.HttpClientBuilder</code> type. - * + * * Group: advanced */ default AdvancedOlingo2EndpointConsumerBuilder httpClientBuilder( @@ -972,9 +971,9 @@ public interface Olingo2EndpointBuilderFactory { /** * Sets whether synchronous processing should be strictly used, or Camel * is allowed to use asynchronous processing (if supported). - * + * * The option is a: <code>boolean</code> type. - * + * * Default: false * Group: advanced */ @@ -986,9 +985,9 @@ public interface Olingo2EndpointBuilderFactory { /** * Sets whether synchronous processing should be strictly used, or Camel * is allowed to use asynchronous processing (if supported). - * + * * The option will be converted to a <code>boolean</code> type. - * + * * Default: false * Group: advanced */ @@ -1011,9 +1010,9 @@ public interface Olingo2EndpointBuilderFactory { /** * HTTP connection creation timeout in milliseconds, defaults to 30,000 * (30 seconds). - * + * * The option is a: <code>int</code> type. - * + * * Default: 30000 * Group: common */ @@ -1024,9 +1023,9 @@ public interface Olingo2EndpointBuilderFactory { /** * HTTP connection creation timeout in milliseconds, defaults to 30,000 * (30 seconds). - * + * * The option will be converted to a <code>int</code> type. - * + * * Default: 30000 * Group: common */ @@ -1038,9 +1037,9 @@ public interface Olingo2EndpointBuilderFactory { /** * Content-Type header value can be used to specify JSON or XML message * format, defaults to application/json;charset=utf-8. - * + * * The option is a: <code>java.lang.String</code> type. - * + * * Default: application/json;charset=utf-8 * Group: common */ @@ -1051,10 +1050,10 @@ public interface Olingo2EndpointBuilderFactory { /** * Custom entity provider read properties applied to all read * operations. - * + * * The option is a: * <code>org.apache.olingo.odata2.api.ep.EntityProviderReadProperties</code> type. - * + * * Group: common */ default Olingo2EndpointProducerBuilder entityProviderReadProperties( @@ -1065,10 +1064,10 @@ public interface Olingo2EndpointBuilderFactory { /** * Custom entity provider read properties applied to all read * operations. - * + * * The option will be converted to a * <code>org.apache.olingo.odata2.api.ep.EntityProviderReadProperties</code> type. - * + * * Group: common */ default Olingo2EndpointProducerBuilder entityProviderReadProperties( @@ -1084,10 +1083,10 @@ public interface Olingo2EndpointBuilderFactory { * by the serviceUri configuration parameter. Please consider to using * the serviceUri configuration parameter instead of setting the * respective write property here. - * + * * The option is a: * <code>org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties</code> type. - * + * * Group: common */ default Olingo2EndpointProducerBuilder entityProviderWriteProperties( @@ -1103,10 +1102,10 @@ public interface Olingo2EndpointBuilderFactory { * by the serviceUri configuration parameter. Please consider to using * the serviceUri configuration parameter instead of setting the * respective write property here. - * + * * The option will be converted to a * <code>org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties</code> type. - * + * * Group: common */ default Olingo2EndpointProducerBuilder entityProviderWriteProperties( @@ -1117,9 +1116,9 @@ public interface Olingo2EndpointBuilderFactory { /** * Set this to true to filter out results that have already been * communicated by this component. - * + * * The option is a: <code>boolean</code> type. - * + * * Default: false * Group: common */ @@ -1131,9 +1130,9 @@ public interface Olingo2EndpointBuilderFactory { /** * Set this to true to filter out results that have already been * communicated by this component. - * + * * The option will be converted to a <code>boolean</code> type. - * + * * Default: false * Group: common */ @@ -1145,10 +1144,10 @@ public interface Olingo2EndpointBuilderFactory { /** * Custom HTTP headers to inject into every request, this could include * OAuth tokens, etc. - * + * * The option is a: <code>java.util.Map<java.lang.String, * java.lang.String></code> type. - * + * * Group: common */ default Olingo2EndpointProducerBuilder httpHeaders( @@ -1159,11 +1158,11 @@ public interface Olingo2EndpointBuilderFactory { /** * Custom HTTP headers to inject into every request, this could include * OAuth tokens, etc. - * + * * The option will be converted to a * <code>java.util.Map<java.lang.String, java.lang.String></code> * type. - * + * * Group: common */ default Olingo2EndpointProducerBuilder httpHeaders(String httpHeaders) { @@ -1172,9 +1171,9 @@ public interface Olingo2EndpointBuilderFactory { } /** * Sets the name of a parameter to be passed in the exchange In Body. - * + * * The option is a: <code>java.lang.String</code> type. - * + * * Group: common */ default Olingo2EndpointProducerBuilder inBody(String inBody) { @@ -1183,9 +1182,9 @@ public interface Olingo2EndpointBuilderFactory { } /** * HTTP proxy server configuration. - * + * * The option is a: <code>org.apache.http.HttpHost</code> type. - * + * * Group: common */ default Olingo2EndpointProducerBuilder proxy(Object proxy) { @@ -1194,10 +1193,10 @@ public interface Olingo2EndpointBuilderFactory { } /** * HTTP proxy server configuration. - * + * * The option will be converted to a * <code>org.apache.http.HttpHost</code> type. - * + * * Group: common */ default Olingo2EndpointProducerBuilder proxy(String proxy) { @@ -1207,9 +1206,9 @@ public interface Olingo2EndpointBuilderFactory { /** * Target OData service base URI, e.g. * http://services.odata.org/OData/OData.svc. - * + * * The option is a: <code>java.lang.String</code> type. - * + * * Group: common */ default Olingo2EndpointProducerBuilder serviceUri(String serviceUri) { @@ -1219,9 +1218,9 @@ public interface Olingo2EndpointBuilderFactory { /** * HTTP request timeout in milliseconds, defaults to 30,000 (30 * seconds). - * + * * The option is a: <code>int</code> type. - * + * * Default: 30000 * Group: common */ @@ -1232,9 +1231,9 @@ public interface Olingo2EndpointBuilderFactory { /** * HTTP request timeout in milliseconds, defaults to 30,000 (30 * seconds). - * + * * The option will be converted to a <code>int</code> type. - * + * * Default: 30000 * Group: common */ @@ -1253,9 +1252,9 @@ public interface Olingo2EndpointBuilderFactory { * the first message is processed then creating and starting the * producer may take a little time and prolong the total processing time * of the processing. - * + * * The option is a: <code>boolean</code> type. - * + * * Default: false * Group: producer */ @@ -1274,9 +1273,9 @@ public interface Olingo2EndpointBuilderFactory { * the first message is processed then creating and starting the * producer may take a little time and prolong the total processing time * of the processing. - * + * * The option will be converted to a <code>boolean</code> type. - * + * * Default: false * Group: producer */ @@ -1287,10 +1286,10 @@ public interface Olingo2EndpointBuilderFactory { } /** * To configure security using SSLContextParameters. - * + * * The option is a: * <code>org.apache.camel.support.jsse.SSLContextParameters</code> type. - * + * * Group: security */ default Olingo2EndpointProducerBuilder sslContextParameters( @@ -1300,10 +1299,10 @@ public interface Olingo2EndpointBuilderFactory { } /** * To configure security using SSLContextParameters. - * + * * The option will be converted to a * <code>org.apache.camel.support.jsse.SSLContextParameters</code> type. - * + * * Group: security */ default Olingo2EndpointProducerBuilder sslContextParameters( @@ -1325,9 +1324,9 @@ public interface Olingo2EndpointBuilderFactory { /** * Whether the endpoint should use basic property binding (Camel 2.x) or * the newer property binding with additional capabilities. - * + * * The option is a: <code>boolean</code> type. - * + * * Default: false * Group: advanced */ @@ -1339,9 +1338,9 @@ public interface Olingo2EndpointBuilderFactory { /** * Whether the endpoint should use basic property binding (Camel 2.x) or * the newer property binding with additional capabilities. - * + * * The option will be converted to a <code>boolean</code> type. - * + * * Default: false * Group: advanced */ @@ -1355,11 +1354,11 @@ public interface Olingo2EndpointBuilderFactory { * configuration, overrides connectionTimeout, socketTimeout, proxy and * sslContext. Note that a socketTimeout MUST be specified in the * builder, otherwise OData requests could block indefinitely. - * + * * The option is a: * <code>org.apache.http.impl.nio.client.HttpAsyncClientBuilder</code> * type. - * + * * Group: advanced */ default AdvancedOlingo2EndpointProducerBuilder httpAsyncClientBuilder( @@ -1372,11 +1371,11 @@ public interface Olingo2EndpointBuilderFactory { * configuration, overrides connectionTimeout, socketTimeout, proxy and * sslContext. Note that a socketTimeout MUST be specified in the * builder, otherwise OData requests could block indefinitely. - * + * * The option will be converted to a * <code>org.apache.http.impl.nio.client.HttpAsyncClientBuilder</code> * type. - * + * * Group: advanced */ default AdvancedOlingo2EndpointProducerBuilder httpAsyncClientBuilder( @@ -1389,10 +1388,10 @@ public interface Olingo2EndpointBuilderFactory { * configuration, overrides connectionTimeout, socketTimeout, proxy and * sslContext. Note that a socketTimeout MUST be specified in the * builder, otherwise OData requests could block indefinitely. - * + * * The option is a: * <code>org.apache.http.impl.client.HttpClientBuilder</code> type. - * + * * Group: advanced */ default AdvancedOlingo2EndpointProducerBuilder httpClientBuilder( @@ -1405,10 +1404,10 @@ public interface Olingo2EndpointBuilderFactory { * configuration, overrides connectionTimeout, socketTimeout, proxy and * sslContext. Note that a socketTimeout MUST be specified in the * builder, otherwise OData requests could block indefinitely. - * + * * The option will be converted to a * <code>org.apache.http.impl.client.HttpClientBuilder</code> type. - * + * * Group: advanced */ default AdvancedOlingo2EndpointProducerBuilder httpClientBuilder( @@ -1419,9 +1418,9 @@ public interface Olingo2EndpointBuilderFactory { /** * Sets whether synchronous processing should be strictly used, or Camel * is allowed to use asynchronous processing (if supported). - * + * * The option is a: <code>boolean</code> type. - * + * * Default: false * Group: advanced */ @@ -1433,9 +1432,9 @@ public interface Olingo2EndpointBuilderFactory { /** * Sets whether synchronous processing should be strictly used, or Camel * is allowed to use asynchronous processing (if supported). - * + * * The option will be converted to a <code>boolean</code> type. - * + * * Default: false * Group: advanced */ @@ -1459,9 +1458,9 @@ public interface Olingo2EndpointBuilderFactory { /** * HTTP connection creation timeout in milliseconds, defaults to 30,000 * (30 seconds). - * + * * The option is a: <code>int</code> type. - * + * * Default: 30000 * Group: common */ @@ -1472,9 +1471,9 @@ public interface Olingo2EndpointBuilderFactory { /** * HTTP connection creation timeout in milliseconds, defaults to 30,000 * (30 seconds). - * + * * The option will be converted to a <code>int</code> type. - * + * * Default: 30000 * Group: common */ @@ -1485,9 +1484,9 @@ public interface Olingo2EndpointBuilderFactory { /** * Content-Type header value can be used to specify JSON or XML message * format, defaults to application/json;charset=utf-8. - * + * * The option is a: <code>java.lang.String</code> type. - * + * * Default: application/json;charset=utf-8 * Group: common */ @@ -1498,10 +1497,10 @@ public interface Olingo2EndpointBuilderFactory { /** * Custom entity provider read properties applied to all read * operations. - * + * * The option is a: * <code>org.apache.olingo.odata2.api.ep.EntityProviderReadProperties</code> type. - * + * * Group: common */ default Olingo2EndpointBuilder entityProviderReadProperties( @@ -1512,10 +1511,10 @@ public interface Olingo2EndpointBuilderFactory { /** * Custom entity provider read properties applied to all read * operations. - * + * * The option will be converted to a * <code>org.apache.olingo.odata2.api.ep.EntityProviderReadProperties</code> type. - * + * * Group: common */ default Olingo2EndpointBuilder entityProviderReadProperties( @@ -1531,10 +1530,10 @@ public interface Olingo2EndpointBuilderFactory { * by the serviceUri configuration parameter. Please consider to using * the serviceUri configuration parameter instead of setting the * respective write property here. - * + * * The option is a: * <code>org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties</code> type. - * + * * Group: common */ default Olingo2EndpointBuilder entityProviderWriteProperties( @@ -1550,10 +1549,10 @@ public interface Olingo2EndpointBuilderFactory { * by the serviceUri configuration parameter. Please consider to using * the serviceUri configuration parameter instead of setting the * respective write property here. - * + * * The option will be converted to a * <code>org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties</code> type. - * + * * Group: common */ default Olingo2EndpointBuilder entityProviderWriteProperties( @@ -1564,9 +1563,9 @@ public interface Olingo2EndpointBuilderFactory { /** * Set this to true to filter out results that have already been * communicated by this component. - * + * * The option is a: <code>boolean</code> type. - * + * * Default: false * Group: common */ @@ -1578,9 +1577,9 @@ public interface Olingo2EndpointBuilderFactory { /** * Set this to true to filter out results that have already been * communicated by this component. - * + * * The option will be converted to a <code>boolean</code> type. - * + * * Default: false * Group: common */ @@ -1592,10 +1591,10 @@ public interface Olingo2EndpointBuilderFactory { /** * Custom HTTP headers to inject into every request, this could include * OAuth tokens, etc. - * + * * The option is a: <code>java.util.Map<java.lang.String, * java.lang.String></code> type. - * + * * Group: common */ default Olingo2EndpointBuilder httpHeaders( @@ -1606,11 +1605,11 @@ public interface Olingo2EndpointBuilderFactory { /** * Custom HTTP headers to inject into every request, this could include * OAuth tokens, etc. - * + * * The option will be converted to a * <code>java.util.Map<java.lang.String, java.lang.String></code> * type. - * + * * Group: common */ default Olingo2EndpointBuilder httpHeaders(String httpHeaders) { @@ -1619,9 +1618,9 @@ public interface Olingo2EndpointBuilderFactory { } /** * Sets the name of a parameter to be passed in the exchange In Body. - * + * * The option is a: <code>java.lang.String</code> type. - * + * * Group: common */ default Olingo2EndpointBuilder inBody(String inBody) { @@ -1630,9 +1629,9 @@ public interface Olingo2EndpointBuilderFactory { } /** * HTTP proxy server configuration. - * + * * The option is a: <code>org.apache.http.HttpHost</code> type. - * + * * Group: common */ default Olingo2EndpointBuilder proxy(Object proxy) { @@ -1641,10 +1640,10 @@ public interface Olingo2EndpointBuilderFactory { } /** * HTTP proxy server configuration. - * + * * The option will be converted to a * <code>org.apache.http.HttpHost</code> type. - * + * * Group: common */ default Olingo2EndpointBuilder proxy(String proxy) { @@ -1654,9 +1653,9 @@ public interface Olingo2EndpointBuilderFactory { /** * Target OData service base URI, e.g. * http://services.odata.org/OData/OData.svc. - * + * * The option is a: <code>java.lang.String</code> type. - * + * * Group: common */ default Olingo2EndpointBuilder serviceUri(String serviceUri) { @@ -1666,9 +1665,9 @@ public interface Olingo2EndpointBuilderFactory { /** * HTTP request timeout in milliseconds, defaults to 30,000 (30 * seconds). - * + * * The option is a: <code>int</code> type. - * + * * Default: 30000 * Group: common */ @@ -1679,9 +1678,9 @@ public interface Olingo2EndpointBuilderFactory { /** * HTTP request timeout in milliseconds, defaults to 30,000 (30 * seconds). - * + * * The option will be converted to a <code>int</code> type. - * + * * Default: 30000 * Group: common */ @@ -1691,10 +1690,10 @@ public interface Olingo2EndpointBuilderFactory { } /** * To configure security using SSLContextParameters. - * + * * The option is a: * <code>org.apache.camel.support.jsse.SSLContextParameters</code> type. - * + * * Group: security */ default Olingo2EndpointBuilder sslContextParameters( @@ -1704,10 +1703,10 @@ public interface Olingo2EndpointBuilderFactory { } /** * To configure security using SSLContextParameters. - * + * * The option will be converted to a * <code>org.apache.camel.support.jsse.SSLContextParameters</code> type. - * + * * Group: security */ default Olingo2EndpointBuilder sslContextParameters( @@ -1730,9 +1729,9 @@ public interface Olingo2EndpointBuilderFactory { /** * Whether the endpoint should use basic property binding (Camel 2.x) or * the newer property binding with additional capabilities. - * + * * The option is a: <code>boolean</code> type. - * + * * Default: false * Group: advanced */ @@ -1744,9 +1743,9 @@ public interface Olingo2EndpointBuilderFactory { /** * Whether the endpoint should use basic property binding (Camel 2.x) or * the newer property binding with additional capabilities. - * + * * The option will be converted to a <code>boolean</code> type. - * + * * Default: false * Group: advanced */ @@ -1760,11 +1759,11 @@ public interface Olingo2EndpointBuilderFactory { * configuration, overrides connectionTimeout, socketTimeout, proxy and * sslContext. Note that a socketTimeout MUST be specified in the * builder, otherwise OData requests could block indefinitely. - * + * * The option is a: * <code>org.apache.http.impl.nio.client.HttpAsyncClientBuilder</code> * type. - * + * * Group: advanced */ default AdvancedOlingo2EndpointBuilder httpAsyncClientBuilder( @@ -1777,11 +1776,11 @@ public interface Olingo2EndpointBuilderFactory { * configuration, overrides connectionTimeout, socketTimeout, proxy and * sslContext. Note that a socketTimeout MUST be specified in the * builder, otherwise OData requests could block indefinitely. - * + * * The option will be converted to a * <code>org.apache.http.impl.nio.client.HttpAsyncClientBuilder</code> * type. - * + * * Group: advanced */ default AdvancedOlingo2EndpointBuilder httpAsyncClientBuilder( @@ -1794,10 +1793,10 @@ public interface Olingo2EndpointBuilderFactory { * configuration, overrides connectionTimeout, socketTimeout, proxy and * sslContext. Note that a socketTimeout MUST be specified in the * builder, otherwise OData requests could block indefinitely. - * + * * The option is a: * <code>org.apache.http.impl.client.HttpClientBuilder</code> type. - * + * * Group: advanced */ default AdvancedOlingo2EndpointBuilder httpClientBuilder( @@ -1810,10 +1809,10 @@ public interface Olingo2EndpointBuilderFactory { * configuration, overrides connectionTimeout, socketTimeout, proxy and * sslContext. Note that a socketTimeout MUST be specified in the * builder, otherwise OData requests could block indefinitely. - * + * * The option will be converted to a * <code>org.apache.http.impl.client.HttpClientBuilder</code> type. - * + * * Group: advanced */ default AdvancedOlingo2EndpointBuilder httpClientBuilder( @@ -1824,9 +1823,9 @@ public interface Olingo2EndpointBuilderFactory { /** * Sets whether synchronous processing should be strictly used, or Camel * is allowed to use asynchronous processing (if supported). - * + * * The option is a: <code>boolean</code> type. - * + * * Default: false * Group: advanced */ @@ -1837,9 +1836,9 @@ public interface Olingo2EndpointBuilderFactory { /** * Sets whether synchronous processing should be strictly used, or Camel * is allowed to use asynchronous processing (if supported). - * + * * The option will be converted to a <code>boolean</code> type. - * + * * Default: false * Group: advanced */ @@ -1853,20 +1852,20 @@ public interface Olingo2EndpointBuilderFactory { /** * Olingo2 (camel-olingo2) * Communicate with OData 2.0 services using Apache Olingo. - * + * * Category: cloud * Since: 2.14 * Maven coordinates: org.apache.camel:camel-olingo2 - * + * * Syntax: <code>olingo2:apiName/methodName</code> - * + * * Path parameter: apiName (required) * What kind of operation to perform * The value can be one of: DEFAULT - * + * * Path parameter: methodName (required) * What sub operation to use for the selected operation - * + * * @param path apiName/methodName */ default Olingo2EndpointBuilder olingo2(String path) { @@ -1875,20 +1874,20 @@ public interface Olingo2EndpointBuilderFactory { /** * Olingo2 (camel-olingo2) * Communicate with OData 2.0 services using Apache Olingo. - * + * * Category: cloud * Since: 2.14 * Maven coordinates: org.apache.camel:camel-olingo2 - * + * * Syntax: <code>olingo2:apiName/methodName</code> - * + * * Path parameter: apiName (required) * What kind of operation to perform * The value can be one of: DEFAULT - * + * * Path parameter: methodName (required) * What sub operation to use for the selected operation - * + * * @param componentName to use a custom component name for the endpoint * instead of the default name * @param path apiName/methodName @@ -1907,4 +1906,4 @@ public interface Olingo2EndpointBuilderFactory { } return new Olingo2EndpointBuilderImpl(path); } -} +} \ No newline at end of file diff --git a/docs/components/modules/ROOT/pages/olingo2-component.adoc b/docs/components/modules/ROOT/pages/olingo2-component.adoc index 3abfd05..ca77e69 100644 --- a/docs/components/modules/ROOT/pages/olingo2-component.adoc +++ b/docs/components/modules/ROOT/pages/olingo2-component.adoc @@ -65,7 +65,7 @@ The Olingo2 component supports 18 options, which are listed below. | *connectTimeout* (common) | HTTP connection creation timeout in milliseconds, defaults to 30,000 (30 seconds) | 30000 | int | *contentType* (common) | Content-Type header value can be used to specify JSON or XML message format, defaults to application/json;charset=utf-8 | application/json;charset=utf-8 | String | *entityProviderReadProperties* (common) | Custom entity provider read properties applied to all read operations. | | EntityProviderReadProperties -| *entityProviderWriteProperties* (common) | Custom entity provider write properties applied to create, update and merge operations. For instance users can enable content only settings and skip meta data wrappers when sending request data. | | EntityProviderWriteProperties +| *entityProviderWriteProperties* (common) | Custom entity provider write properties applied to create, update, patch, batch and merge operations. For instance users can skip the Json object wrapper or enable content only mode when sending request data. A service URI set in the properties will always be overwritten by the serviceUri configuration parameter. Please consider to using the serviceUri configuration parameter instead of setting the respective write property here. | | EntityPr [...] | *filterAlreadySeen* (common) | Set this to true to filter out results that have already been communicated by this component. | false | boolean | *httpHeaders* (common) | Custom HTTP headers to inject into every request, this could include OAuth tokens, etc. | | Map | *proxy* (common) | HTTP proxy server configuration | | HttpHost @@ -116,7 +116,7 @@ with the following path and query parameters: | *connectTimeout* (common) | HTTP connection creation timeout in milliseconds, defaults to 30,000 (30 seconds) | 30000 | int | *contentType* (common) | Content-Type header value can be used to specify JSON or XML message format, defaults to application/json;charset=utf-8 | application/json;charset=utf-8 | String | *entityProviderReadProperties* (common) | Custom entity provider read properties applied to all read operations. | | EntityProviderReadProperties -| *entityProviderWriteProperties* (common) | Custom entity provider write properties applied to create, update and merge operations. For instance users can enable content only settings and skip meta data wrappers when sending request data. | | EntityProviderWriteProperties +| *entityProviderWriteProperties* (common) | Custom entity provider write properties applied to create, update, patch, batch and merge operations. For instance users can skip the Json object wrapper or enable content only mode when sending request data. A service URI set in the properties will always be overwritten by the serviceUri configuration parameter. Please consider to using the serviceUri configuration parameter instead of setting the respective write property here. | | EntityPr [...] | *filterAlreadySeen* (common) | Set this to true to filter out results that have already been communicated by this component. | false | boolean | *httpHeaders* (common) | Custom HTTP headers to inject into every request, this could include OAuth tokens, etc. | | Map | *inBody* (common) | Sets the name of a parameter to be passed in the exchange In Body | | String