Interface StitchEndpointBuilderFactory.AdvancedStitchEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
StitchEndpointBuilderFactory
public static interface StitchEndpointBuilderFactory.AdvancedStitchEndpointBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Advanced builder for endpoint for the Stitch component.
-
Method Summary
Modifier and TypeMethodDescriptionbasic()connectionProvider(String connectionProvider) ConnectionProvider contain configuration for the HttpClient like Maximum connection limit ..connectionProvider(reactor.netty.resources.ConnectionProvider connectionProvider) ConnectionProvider contain configuration for the HttpClient like Maximum connection limit ..httpClient(String httpClient) Reactor Netty HttpClient, you can injected it if you want to have custom HttpClient.httpClient(reactor.netty.http.client.HttpClient httpClient) Reactor Netty HttpClient, you can injected it if you want to have custom HttpClient.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).stitchClient(String stitchClient) Set a custom StitchClient that implements org.apache.camel.component.stitch.client.StitchClient interface.stitchClient(org.apache.camel.component.stitch.client.StitchClient stitchClient) Set a custom StitchClient that implements org.apache.camel.component.stitch.client.StitchClient interface.Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
basic
-
connectionProvider
default StitchEndpointBuilderFactory.AdvancedStitchEndpointBuilder connectionProvider(reactor.netty.resources.ConnectionProvider connectionProvider) ConnectionProvider contain configuration for the HttpClient like Maximum connection limit .. etc, you can inject this ConnectionProvider and the StitchClient will initialize HttpClient with this ConnectionProvider. The option is a: <code>reactor.netty.resources.ConnectionProvider</code> type. Group: producer (advanced)- Parameters:
connectionProvider- the value to set- Returns:
- the dsl builder
-
connectionProvider
default StitchEndpointBuilderFactory.AdvancedStitchEndpointBuilder connectionProvider(String connectionProvider) ConnectionProvider contain configuration for the HttpClient like Maximum connection limit .. etc, you can inject this ConnectionProvider and the StitchClient will initialize HttpClient with this ConnectionProvider. The option will be converted to a <code>reactor.netty.resources.ConnectionProvider</code> type. Group: producer (advanced)- Parameters:
connectionProvider- the value to set- Returns:
- the dsl builder
-
httpClient
default StitchEndpointBuilderFactory.AdvancedStitchEndpointBuilder httpClient(reactor.netty.http.client.HttpClient httpClient) Reactor Netty HttpClient, you can injected it if you want to have custom HttpClient. The option is a: <code>reactor.netty.http.client.HttpClient</code> type. Group: producer (advanced)- Parameters:
httpClient- the value to set- Returns:
- the dsl builder
-
httpClient
Reactor Netty HttpClient, you can injected it if you want to have custom HttpClient. The option will be converted to a <code>reactor.netty.http.client.HttpClient</code> type. Group: producer (advanced)- Parameters:
httpClient- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default StitchEndpointBuilderFactory.AdvancedStitchEndpointBuilder 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 StitchEndpointBuilderFactory.AdvancedStitchEndpointBuilder 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
-
stitchClient
default StitchEndpointBuilderFactory.AdvancedStitchEndpointBuilder stitchClient(org.apache.camel.component.stitch.client.StitchClient stitchClient) Set a custom StitchClient that implements org.apache.camel.component.stitch.client.StitchClient interface. The option is a: <code>org.apache.camel.component.stitch.client.StitchClient</code> type. Group: advanced- Parameters:
stitchClient- the value to set- Returns:
- the dsl builder
-
stitchClient
default StitchEndpointBuilderFactory.AdvancedStitchEndpointBuilder stitchClient(String stitchClient) Set a custom StitchClient that implements org.apache.camel.component.stitch.client.StitchClient interface. The option will be converted to a <code>org.apache.camel.component.stitch.client.StitchClient</code> type. Group: advanced- Parameters:
stitchClient- the value to set- Returns:
- the dsl builder
-