Interface Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder

  • All Superinterfaces:
    org.apache.camel.builder.EndpointProducerBuilder, org.apache.camel.EndpointProducerResolver
    All Known Subinterfaces:
    Olingo2EndpointBuilderFactory.Olingo2EndpointBuilder
    Enclosing interface:
    Olingo2EndpointBuilderFactory

    public static interface Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
    extends org.apache.camel.builder.EndpointProducerBuilder
    Builder for endpoint producers for the Olingo2 component.
    • Method Detail

      • contentType

        default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder contentType​(String contentType)
        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: java.lang.String type. Default: application/json;charset=utf-8 Group: common
      • entityProviderReadProperties

        default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder entityProviderReadProperties​(Object entityProviderReadProperties)
        Custom entity provider read properties applied to all read operations. The option is a: org.apache.olingo.odata2.api.ep.EntityProviderReadProperties type. Group: common
      • entityProviderReadProperties

        default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder entityProviderReadProperties​(String entityProviderReadProperties)
        Custom entity provider read properties applied to all read operations. The option will be converted to a org.apache.olingo.odata2.api.ep.EntityProviderReadProperties type. Group: common
      • entityProviderWriteProperties

        default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder entityProviderWriteProperties​(Object entityProviderWriteProperties)
        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. The option is a: org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties type. Group: common
      • entityProviderWriteProperties

        default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder entityProviderWriteProperties​(String entityProviderWriteProperties)
        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. The option will be converted to a org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties type. Group: common
      • lazyStartProducer

        default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder lazyStartProducer​(boolean lazyStartProducer)
        Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when 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: boolean type. Default: false Group: producer
      • lazyStartProducer

        default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder lazyStartProducer​(String lazyStartProducer)
        Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when 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 boolean type. Default: false Group: producer