Interface HazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointProducerBuilder

    • Method Detail

      • defaultOperation

        default HazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointProducerBuilder defaultOperation​(String defaultOperation)
        To specify a default operation to use, if no operation header has been provided. The option will be converted to a <code>org.apache.camel.component.hazelcast.HazelcastOperation</code> type. Group: common
        Parameters:
        defaultOperation - the value to set
        Returns:
        the dsl builder
      • hazelcastInstance

        default HazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointProducerBuilder hazelcastInstance​(String hazelcastInstance)
        The hazelcast instance reference which can be used for hazelcast endpoint. The option will be converted to a <code>com.hazelcast.core.HazelcastInstance</code> type. Group: common
        Parameters:
        hazelcastInstance - the value to set
        Returns:
        the dsl builder
      • hazelcastInstanceName

        default HazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointProducerBuilder hazelcastInstanceName​(String hazelcastInstanceName)
        The hazelcast instance reference name which can be used for hazelcast endpoint. If you don't specify the instance reference, camel use the default hazelcast instance from the camel-hazelcast instance. The option is a: <code>java.lang.String</code> type. Group: common
        Parameters:
        hazelcastInstanceName - the value to set
        Returns:
        the dsl builder
      • lazyStartProducer

        default HazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointProducerBuilder 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
        Parameters:
        lazyStartProducer - the value to set
        Returns:
        the dsl builder
      • lazyStartProducer

        default HazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointProducerBuilder 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
        Parameters:
        lazyStartProducer - the value to set
        Returns:
        the dsl builder
      • pollTimeout

        default HazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointProducerBuilder pollTimeout​(int pollTimeout)
        The timeout used when consuming from the SEDA queue. When a timeout occurs, the consumer can check whether it is allowed to continue running. Setting a lower value allows the consumer to react more quickly upon shutdown. The option is a: <code>int</code> type. Default: 1000 Group: seda
        Parameters:
        pollTimeout - the value to set
        Returns:
        the dsl builder
      • pollTimeout

        default HazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointProducerBuilder pollTimeout​(String pollTimeout)
        The timeout used when consuming from the SEDA queue. When a timeout occurs, the consumer can check whether it is allowed to continue running. Setting a lower value allows the consumer to react more quickly upon shutdown. The option will be converted to a <code>int</code> type. Default: 1000 Group: seda
        Parameters:
        pollTimeout - the value to set
        Returns:
        the dsl builder
      • transacted

        default HazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointProducerBuilder transacted​(boolean transacted)
        If set to true then the consumer runs in transaction mode, where the messages in the seda queue will only be removed if the transaction commits, which happens when the processing is complete. The option is a: <code>boolean</code> type. Default: false Group: seda
        Parameters:
        transacted - the value to set
        Returns:
        the dsl builder
      • transacted

        default HazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointProducerBuilder transacted​(String transacted)
        If set to true then the consumer runs in transaction mode, where the messages in the seda queue will only be removed if the transaction commits, which happens when the processing is complete. The option will be converted to a <code>boolean</code> type. Default: false Group: seda
        Parameters:
        transacted - the value to set
        Returns:
        the dsl builder
      • transferExchange

        default HazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointProducerBuilder transferExchange​(boolean transferExchange)
        If set to true the whole Exchange will be transfered. If header or body contains not serializable objects, they will be skipped. The option is a: <code>boolean</code> type. Default: false Group: seda
        Parameters:
        transferExchange - the value to set
        Returns:
        the dsl builder
      • transferExchange

        default HazelcastSedaEndpointBuilderFactory.HazelcastSedaEndpointProducerBuilder transferExchange​(String transferExchange)
        If set to true the whole Exchange will be transfered. If header or body contains not serializable objects, they will be skipped. The option will be converted to a <code>boolean</code> type. Default: false Group: seda
        Parameters:
        transferExchange - the value to set
        Returns:
        the dsl builder