Interface CassandraEndpointBuilderFactory.AdvancedCassandraEndpointProducerBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
CassandraEndpointBuilderFactory.AdvancedCassandraEndpointBuilder
- Enclosing interface:
CassandraEndpointBuilderFactory
public static interface CassandraEndpointBuilderFactory.AdvancedCassandraEndpointProducerBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Advanced builder for endpoint producers for the Cassandra CQL component.
-
Method Summary
Modifier and TypeMethodDescriptionbasic()extraTypeCodecs(String extraTypeCodecs) To use a specific comma separated list of Extra Type codecs.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).loadBalancingPolicyClass(String loadBalancingPolicyClass) To use a specific LoadBalancingPolicyClass.resultSetConversionStrategy(String resultSetConversionStrategy) To use a custom class that implements logic for converting ResultSet into message body ALL, ONE, LIMIT_10, LIMIT_100...resultSetConversionStrategy(org.apache.camel.component.cassandra.ResultSetConversionStrategy resultSetConversionStrategy) To use a custom class that implements logic for converting ResultSet into message body ALL, ONE, LIMIT_10, LIMIT_100...session(com.datastax.oss.driver.api.core.CqlSession session) To use the Session instance (you would normally not use this option).To use the Session instance (you would normally not use this option).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
-
lazyStartProducer
default CassandraEndpointBuilderFactory.AdvancedCassandraEndpointProducerBuilder 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:booleantype. Default: false Group: producer (advanced)- Parameters:
lazyStartProducer- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default CassandraEndpointBuilderFactory.AdvancedCassandraEndpointProducerBuilder 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 abooleantype. Default: false Group: producer (advanced)- Parameters:
lazyStartProducer- the value to set- Returns:
- the dsl builder
-
extraTypeCodecs
default CassandraEndpointBuilderFactory.AdvancedCassandraEndpointProducerBuilder extraTypeCodecs(String extraTypeCodecs) To use a specific comma separated list of Extra Type codecs. Possible values are: BLOB_TO_ARRAY, BOOLEAN_LIST_TO_ARRAY, BYTE_LIST_TO_ARRAY, SHORT_LIST_TO_ARRAY, INT_LIST_TO_ARRAY, LONG_LIST_TO_ARRAY, FLOAT_LIST_TO_ARRAY, DOUBLE_LIST_TO_ARRAY, TIMESTAMP_UTC, TIMESTAMP_MILLIS_SYSTEM, TIMESTAMP_MILLIS_UTC, ZONED_TIMESTAMP_SYSTEM, ZONED_TIMESTAMP_UTC, ZONED_TIMESTAMP_PERSISTED, LOCAL_TIMESTAMP_SYSTEM and LOCAL_TIMESTAMP_UTC. The option is a:java.lang.Stringtype. Group: advanced- Parameters:
extraTypeCodecs- the value to set- Returns:
- the dsl builder
-
loadBalancingPolicyClass
default CassandraEndpointBuilderFactory.AdvancedCassandraEndpointProducerBuilder loadBalancingPolicyClass(String loadBalancingPolicyClass) To use a specific LoadBalancingPolicyClass. The option is a:java.lang.Stringtype. Group: advanced- Parameters:
loadBalancingPolicyClass- the value to set- Returns:
- the dsl builder
-
resultSetConversionStrategy
default CassandraEndpointBuilderFactory.AdvancedCassandraEndpointProducerBuilder resultSetConversionStrategy(org.apache.camel.component.cassandra.ResultSetConversionStrategy resultSetConversionStrategy) To use a custom class that implements logic for converting ResultSet into message body ALL, ONE, LIMIT_10, LIMIT_100... The option is a:org.apache.camel.component.cassandra.ResultSetConversionStrategytype. Group: advanced- Parameters:
resultSetConversionStrategy- the value to set- Returns:
- the dsl builder
-
resultSetConversionStrategy
default CassandraEndpointBuilderFactory.AdvancedCassandraEndpointProducerBuilder resultSetConversionStrategy(String resultSetConversionStrategy) To use a custom class that implements logic for converting ResultSet into message body ALL, ONE, LIMIT_10, LIMIT_100... The option will be converted to aorg.apache.camel.component.cassandra.ResultSetConversionStrategytype. Group: advanced- Parameters:
resultSetConversionStrategy- the value to set- Returns:
- the dsl builder
-
session
default CassandraEndpointBuilderFactory.AdvancedCassandraEndpointProducerBuilder session(com.datastax.oss.driver.api.core.CqlSession session) To use the Session instance (you would normally not use this option). The option is a:com.datastax.oss.driver.api.core.CqlSessiontype. Group: advanced- Parameters:
session- the value to set- Returns:
- the dsl builder
-
session
default CassandraEndpointBuilderFactory.AdvancedCassandraEndpointProducerBuilder session(String session) To use the Session instance (you would normally not use this option). The option will be converted to acom.datastax.oss.driver.api.core.CqlSessiontype. Group: advanced- Parameters:
session- the value to set- Returns:
- the dsl builder
-