Interface ServiceNowEndpointBuilderFactory.AdvancedServiceNowEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
ServiceNowEndpointBuilderFactory
public static interface ServiceNowEndpointBuilderFactory.AdvancedServiceNowEndpointBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Advanced builder for endpoint for the ServiceNow component.
-
Method Summary
Modifier and TypeMethodDescriptionapiVersion
(String apiVersion) The ServiceNow REST API version, default latest.basic()
dateFormat
(String dateFormat) The date format used for Json serialization/deserialization.dateTimeFormat
(String dateTimeFormat) The date-time format used for Json serialization/deserialization.httpClientPolicy
(String httpClientPolicy) To configure http-client.httpClientPolicy
(org.apache.cxf.transports.http.configuration.HTTPClientPolicy httpClientPolicy) To configure http-client.lazyStartProducer
(boolean lazyStartProducer) Whether the producer should be started lazy (on the first message).lazyStartProducer
(String lazyStartProducer) Whether the producer should be started lazy (on the first message).mapper
(com.fasterxml.jackson.databind.ObjectMapper mapper) Sets Jackson's ObjectMapper to use for request/reply.Sets Jackson's ObjectMapper to use for request/reply.proxyAuthorizationPolicy
(String proxyAuthorizationPolicy) To configure proxy authentication.proxyAuthorizationPolicy
(org.apache.cxf.configuration.security.ProxyAuthorizationPolicy proxyAuthorizationPolicy) To configure proxy authentication.retrieveTargetRecordOnImport
(Boolean retrieveTargetRecordOnImport) Set this parameter to true to retrieve the target record when using import set api.retrieveTargetRecordOnImport
(String retrieveTargetRecordOnImport) Set this parameter to true to retrieve the target record when using import set api.timeFormat
(String timeFormat) The time format used for Json serialization/deserialization.Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
basic
-
lazyStartProducer
default ServiceNowEndpointBuilderFactory.AdvancedServiceNowEndpointBuilder 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 (advanced)- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default ServiceNowEndpointBuilderFactory.AdvancedServiceNowEndpointBuilder 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 aboolean
type. Default: false Group: producer (advanced)- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
apiVersion
default ServiceNowEndpointBuilderFactory.AdvancedServiceNowEndpointBuilder apiVersion(String apiVersion) The ServiceNow REST API version, default latest. The option is a:java.lang.String
type. Group: advanced- Parameters:
apiVersion
- the value to set- Returns:
- the dsl builder
-
dateFormat
default ServiceNowEndpointBuilderFactory.AdvancedServiceNowEndpointBuilder dateFormat(String dateFormat) The date format used for Json serialization/deserialization. The option is a:java.lang.String
type. Default: yyyy-MM-dd Group: advanced- Parameters:
dateFormat
- the value to set- Returns:
- the dsl builder
-
dateTimeFormat
default ServiceNowEndpointBuilderFactory.AdvancedServiceNowEndpointBuilder dateTimeFormat(String dateTimeFormat) The date-time format used for Json serialization/deserialization. The option is a:java.lang.String
type. Default: yyyy-MM-dd HH:mm:ss Group: advanced- Parameters:
dateTimeFormat
- the value to set- Returns:
- the dsl builder
-
httpClientPolicy
default ServiceNowEndpointBuilderFactory.AdvancedServiceNowEndpointBuilder httpClientPolicy(org.apache.cxf.transports.http.configuration.HTTPClientPolicy httpClientPolicy) To configure http-client. The option is a:org.apache.cxf.transports.http.configuration.HTTPClientPolicy
type. Group: advanced- Parameters:
httpClientPolicy
- the value to set- Returns:
- the dsl builder
-
httpClientPolicy
default ServiceNowEndpointBuilderFactory.AdvancedServiceNowEndpointBuilder httpClientPolicy(String httpClientPolicy) To configure http-client. The option will be converted to aorg.apache.cxf.transports.http.configuration.HTTPClientPolicy
type. Group: advanced- Parameters:
httpClientPolicy
- the value to set- Returns:
- the dsl builder
-
mapper
default ServiceNowEndpointBuilderFactory.AdvancedServiceNowEndpointBuilder mapper(com.fasterxml.jackson.databind.ObjectMapper mapper) Sets Jackson's ObjectMapper to use for request/reply. The option is a:com.fasterxml.jackson.databind.ObjectMapper
type. Group: advanced- Parameters:
mapper
- the value to set- Returns:
- the dsl builder
-
mapper
Sets Jackson's ObjectMapper to use for request/reply. The option will be converted to acom.fasterxml.jackson.databind.ObjectMapper
type. Group: advanced- Parameters:
mapper
- the value to set- Returns:
- the dsl builder
-
proxyAuthorizationPolicy
default ServiceNowEndpointBuilderFactory.AdvancedServiceNowEndpointBuilder proxyAuthorizationPolicy(org.apache.cxf.configuration.security.ProxyAuthorizationPolicy proxyAuthorizationPolicy) To configure proxy authentication. The option is a:org.apache.cxf.configuration.security.ProxyAuthorizationPolicy
type. Group: advanced- Parameters:
proxyAuthorizationPolicy
- the value to set- Returns:
- the dsl builder
-
proxyAuthorizationPolicy
default ServiceNowEndpointBuilderFactory.AdvancedServiceNowEndpointBuilder proxyAuthorizationPolicy(String proxyAuthorizationPolicy) To configure proxy authentication. The option will be converted to aorg.apache.cxf.configuration.security.ProxyAuthorizationPolicy
type. Group: advanced- Parameters:
proxyAuthorizationPolicy
- the value to set- Returns:
- the dsl builder
-
retrieveTargetRecordOnImport
default ServiceNowEndpointBuilderFactory.AdvancedServiceNowEndpointBuilder retrieveTargetRecordOnImport(Boolean retrieveTargetRecordOnImport) Set this parameter to true to retrieve the target record when using import set api. The import set result is then replaced by the target record. The option is a:java.lang.Boolean
type. Default: false Group: advanced- Parameters:
retrieveTargetRecordOnImport
- the value to set- Returns:
- the dsl builder
-
retrieveTargetRecordOnImport
default ServiceNowEndpointBuilderFactory.AdvancedServiceNowEndpointBuilder retrieveTargetRecordOnImport(String retrieveTargetRecordOnImport) Set this parameter to true to retrieve the target record when using import set api. The import set result is then replaced by the target record. The option will be converted to ajava.lang.Boolean
type. Default: false Group: advanced- Parameters:
retrieveTargetRecordOnImport
- the value to set- Returns:
- the dsl builder
-
timeFormat
default ServiceNowEndpointBuilderFactory.AdvancedServiceNowEndpointBuilder timeFormat(String timeFormat) The time format used for Json serialization/deserialization. The option is a:java.lang.String
type. Default: HH:mm:ss Group: advanced- Parameters:
timeFormat
- the value to set- Returns:
- the dsl builder
-