Interface QueueEndpointBuilderFactory.QueueEndpointProducerBuilder

  • All Superinterfaces:
    org.apache.camel.builder.EndpointProducerBuilder, org.apache.camel.EndpointProducerResolver
    All Known Subinterfaces:
    QueueEndpointBuilderFactory.QueueEndpointBuilder
    Enclosing interface:
    QueueEndpointBuilderFactory

    public static interface QueueEndpointBuilderFactory.QueueEndpointProducerBuilder
    extends org.apache.camel.builder.EndpointProducerBuilder
    Builder for endpoint producers for the Azure Storage Queue Service component.
    • Method Detail

      • autoDiscoverClient

        default QueueEndpointBuilderFactory.QueueEndpointProducerBuilder autoDiscoverClient​(boolean autoDiscoverClient)
        Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking. The option is a: boolean type. Default: true Group: common
      • autoDiscoverClient

        default QueueEndpointBuilderFactory.QueueEndpointProducerBuilder autoDiscoverClient​(String autoDiscoverClient)
        Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking. The option will be converted to a boolean type. Default: true Group: common
      • serviceClient

        default QueueEndpointBuilderFactory.QueueEndpointProducerBuilder serviceClient​(Object serviceClient)
        Service client to a storage account to interact with the queue service. This client does not hold any state about a particular storage account but is instead a convenient way of sending off appropriate requests to the resource on the service. This client contains all the operations for interacting with a queue account in Azure Storage. Operations allowed by the client are creating, listing, and deleting queues, retrieving and updating properties of the account, and retrieving statistics of the account. The option is a: com.azure.storage.queue.QueueServiceClient type. Group: common
      • serviceClient

        default QueueEndpointBuilderFactory.QueueEndpointProducerBuilder serviceClient​(String serviceClient)
        Service client to a storage account to interact with the queue service. This client does not hold any state about a particular storage account but is instead a convenient way of sending off appropriate requests to the resource on the service. This client contains all the operations for interacting with a queue account in Azure Storage. Operations allowed by the client are creating, listing, and deleting queues, retrieving and updating properties of the account, and retrieving statistics of the account. The option will be converted to a com.azure.storage.queue.QueueServiceClient type. Group: common
      • lazyStartProducer

        default QueueEndpointBuilderFactory.QueueEndpointProducerBuilder 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
      • lazyStartProducer

        default QueueEndpointBuilderFactory.QueueEndpointProducerBuilder 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 boolean type. Default: false Group: producer
      • maxMessages

        default QueueEndpointBuilderFactory.QueueEndpointProducerBuilder maxMessages​(Integer maxMessages)
        Maximum number of messages to get, if there are less messages exist in the queue than requested all the messages will be returned. If left empty only 1 message will be retrieved, the allowed range is 1 to 32 messages. The option is a: java.lang.Integer type. Default: 1 Group: queue
      • maxMessages

        default QueueEndpointBuilderFactory.QueueEndpointProducerBuilder maxMessages​(String maxMessages)
        Maximum number of messages to get, if there are less messages exist in the queue than requested all the messages will be returned. If left empty only 1 message will be retrieved, the allowed range is 1 to 32 messages. The option will be converted to a java.lang.Integer type. Default: 1 Group: queue
      • timeout

        default QueueEndpointBuilderFactory.QueueEndpointProducerBuilder timeout​(String timeout)
        An optional timeout applied to the operation. If a response is not returned before the timeout concludes a RuntimeException will be thrown. The option will be converted to a java.time.Duration type. Group: queue
      • timeToLive

        default QueueEndpointBuilderFactory.QueueEndpointProducerBuilder timeToLive​(Duration timeToLive)
        How long the message will stay alive in the queue. If unset the value will default to 7 days, if -1 is passed the message will not expire. The time to live must be -1 or any positive number. The format should be in this form: PnDTnHnMn.nS., e.g: PT20.345S -- parses as 20.345 seconds, P2D -- parses as 2 days However, in case you are using EndpointDsl/ComponentDsl, you can do something like Duration.ofSeconds() since these Java APIs are typesafe. The option is a: java.time.Duration type. Group: queue
      • timeToLive

        default QueueEndpointBuilderFactory.QueueEndpointProducerBuilder timeToLive​(String timeToLive)
        How long the message will stay alive in the queue. If unset the value will default to 7 days, if -1 is passed the message will not expire. The time to live must be -1 or any positive number. The format should be in this form: PnDTnHnMn.nS., e.g: PT20.345S -- parses as 20.345 seconds, P2D -- parses as 2 days However, in case you are using EndpointDsl/ComponentDsl, you can do something like Duration.ofSeconds() since these Java APIs are typesafe. The option will be converted to a java.time.Duration type. Group: queue
      • visibilityTimeout

        default QueueEndpointBuilderFactory.QueueEndpointProducerBuilder visibilityTimeout​(Duration visibilityTimeout)
        The timeout period for how long the message is invisible in the queue. The timeout must be between 1 seconds and 7 days. The format should be in this form: PnDTnHnMn.nS., e.g: PT20.345S -- parses as 20.345 seconds, P2D -- parses as 2 days However, in case you are using EndpointDsl/ComponentDsl, you can do something like Duration.ofSeconds() since these Java APIs are typesafe. The option is a: java.time.Duration type. Group: queue
      • visibilityTimeout

        default QueueEndpointBuilderFactory.QueueEndpointProducerBuilder visibilityTimeout​(String visibilityTimeout)
        The timeout period for how long the message is invisible in the queue. The timeout must be between 1 seconds and 7 days. The format should be in this form: PnDTnHnMn.nS., e.g: PT20.345S -- parses as 20.345 seconds, P2D -- parses as 2 days However, in case you are using EndpointDsl/ComponentDsl, you can do something like Duration.ofSeconds() since these Java APIs are typesafe. The option will be converted to a java.time.Duration type. Group: queue
      • credentials

        default QueueEndpointBuilderFactory.QueueEndpointProducerBuilder credentials​(Object credentials)
        StorageSharedKeyCredential can be injected to create the azure client, this holds the important authentication information. The option is a: com.azure.storage.common.StorageSharedKeyCredential type. Group: security
      • credentials

        default QueueEndpointBuilderFactory.QueueEndpointProducerBuilder credentials​(String credentials)
        StorageSharedKeyCredential can be injected to create the azure client, this holds the important authentication information. The option will be converted to a com.azure.storage.common.StorageSharedKeyCredential type. Group: security