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
All Methods Instance Methods Default Methods Modifier and Type Method Description default ServiceNowEndpointBuilderFactory.AdvancedServiceNowEndpointBuilder
apiVersion(String apiVersion)
The ServiceNow REST API version, default latest.default ServiceNowEndpointBuilderFactory.ServiceNowEndpointBuilder
basic()
default ServiceNowEndpointBuilderFactory.AdvancedServiceNowEndpointBuilder
dateFormat(String dateFormat)
The date format used for Json serialization/deserialization.default ServiceNowEndpointBuilderFactory.AdvancedServiceNowEndpointBuilder
dateTimeFormat(String dateTimeFormat)
The date-time format used for Json serialization/deserialization.default ServiceNowEndpointBuilderFactory.AdvancedServiceNowEndpointBuilder
httpClientPolicy(String httpClientPolicy)
To configure http-client.default ServiceNowEndpointBuilderFactory.AdvancedServiceNowEndpointBuilder
httpClientPolicy(org.apache.cxf.transports.http.configuration.HTTPClientPolicy httpClientPolicy)
To configure http-client.default ServiceNowEndpointBuilderFactory.AdvancedServiceNowEndpointBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default ServiceNowEndpointBuilderFactory.AdvancedServiceNowEndpointBuilder
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).default ServiceNowEndpointBuilderFactory.AdvancedServiceNowEndpointBuilder
mapper(com.fasterxml.jackson.databind.ObjectMapper mapper)
Sets Jackson's ObjectMapper to use for request/reply.default ServiceNowEndpointBuilderFactory.AdvancedServiceNowEndpointBuilder
mapper(String mapper)
Sets Jackson's ObjectMapper to use for request/reply.default ServiceNowEndpointBuilderFactory.AdvancedServiceNowEndpointBuilder
proxyAuthorizationPolicy(String proxyAuthorizationPolicy)
To configure proxy authentication.default ServiceNowEndpointBuilderFactory.AdvancedServiceNowEndpointBuilder
proxyAuthorizationPolicy(org.apache.cxf.configuration.security.ProxyAuthorizationPolicy proxyAuthorizationPolicy)
To configure proxy authentication.default ServiceNowEndpointBuilderFactory.AdvancedServiceNowEndpointBuilder
retrieveTargetRecordOnImport(Boolean retrieveTargetRecordOnImport)
Set this parameter to true to retrieve the target record when using import set api.default ServiceNowEndpointBuilderFactory.AdvancedServiceNowEndpointBuilder
retrieveTargetRecordOnImport(String retrieveTargetRecordOnImport)
Set this parameter to true to retrieve the target record when using import set api.default ServiceNowEndpointBuilderFactory.AdvancedServiceNowEndpointBuilder
timeFormat(String timeFormat)
The time format used for Json serialization/deserialization.
-
-
-
Method Detail
-
basic
default ServiceNowEndpointBuilderFactory.ServiceNowEndpointBuilder 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: <code>boolean</code> 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 a <code>boolean</code> 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: <code>java.lang.String</code> 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: <code>java.lang.String</code> 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: <code>java.lang.String</code> 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: <code>org.apache.cxf.transports.http.configuration.HTTPClientPolicy</code> 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 a <code>org.apache.cxf.transports.http.configuration.HTTPClientPolicy</code> 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: <code>com.fasterxml.jackson.databind.ObjectMapper</code> type. Group: advanced- Parameters:
mapper
- the value to set- Returns:
- the dsl builder
-
mapper
default ServiceNowEndpointBuilderFactory.AdvancedServiceNowEndpointBuilder mapper(String mapper)
Sets Jackson's ObjectMapper to use for request/reply. The option will be converted to a <code>com.fasterxml.jackson.databind.ObjectMapper</code> 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: <code>org.apache.cxf.configuration.security.ProxyAuthorizationPolicy</code> 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 a <code>org.apache.cxf.configuration.security.ProxyAuthorizationPolicy</code> 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: <code>java.lang.Boolean</code> 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 a <code>java.lang.Boolean</code> 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: <code>java.lang.String</code> type. Default: HH:mm:ss Group: advanced- Parameters:
timeFormat
- the value to set- Returns:
- the dsl builder
-
-