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 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: boolean type. Default: false Group: producer (advanced)
      Parameters:
      lazyStartProducer - the value to set
      Returns:
      the dsl builder
    • 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 (advanced)
      Parameters:
      lazyStartProducer - the value to set
      Returns:
      the dsl builder
    • 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.String type. 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.String type. 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.ResultSetConversionStrategy type. 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 a org.apache.camel.component.cassandra.ResultSetConversionStrategy type. 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.CqlSession type. Group: advanced
      Parameters:
      session - the value to set
      Returns:
      the dsl builder
    • session

      To use the Session instance (you would normally not use this option). The option will be converted to a com.datastax.oss.driver.api.core.CqlSession type. Group: advanced
      Parameters:
      session - the value to set
      Returns:
      the dsl builder