Interface Aws2SqsComponentBuilderFactory.Aws2SqsComponentBuilder

    • Method Detail

      • amazonSQSClient

        default Aws2SqsComponentBuilderFactory.Aws2SqsComponentBuilder amazonSQSClient​(software.amazon.awssdk.services.sqs.SqsClient amazonSQSClient)
        To use the AmazonSQS as client. The option is a: software.amazon.awssdk.services.sqs.SqsClient type. Group: common
      • configuration

        default Aws2SqsComponentBuilderFactory.Aws2SqsComponentBuilder configuration​(org.apache.camel.component.aws2.sqs.Sqs2Configuration configuration)
        The AWS SQS default configuration. The option is a: org.apache.camel.component.aws2.sqs.Sqs2Configuration type. Group: common
      • proxyProtocol

        default Aws2SqsComponentBuilderFactory.Aws2SqsComponentBuilder proxyProtocol​(software.amazon.awssdk.core.Protocol proxyProtocol)
        To define a proxy protocol when instantiating the SQS client. The option is a: software.amazon.awssdk.core.Protocol type. Default: HTTPS Group: common
      • queueOwnerAWSAccountId

        default Aws2SqsComponentBuilderFactory.Aws2SqsComponentBuilder queueOwnerAWSAccountId​(String queueOwnerAWSAccountId)
        Specify the queue owner aws account id when you need to connect the queue with different account owner. The option is a: java.lang.String type. Group: common
      • region

        default Aws2SqsComponentBuilderFactory.Aws2SqsComponentBuilder region​(String region)
        The region in which SQS client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id(). The option is a: java.lang.String type. Group: common
      • trustAllCertificates

        default Aws2SqsComponentBuilderFactory.Aws2SqsComponentBuilder trustAllCertificates​(boolean trustAllCertificates)
        If we want to trust all certificates in case of overriding the endpoint. The option is a: boolean type. Default: false Group: common
      • useDefaultCredentialsProvider

        default Aws2SqsComponentBuilderFactory.Aws2SqsComponentBuilder useDefaultCredentialsProvider​(boolean useDefaultCredentialsProvider)
        Set whether the SQS client should expect to load credentials on an AWS infra instance or to expect static credentials to be passed in. The option is a: boolean type. Default: false Group: common
      • bridgeErrorHandler

        default Aws2SqsComponentBuilderFactory.Aws2SqsComponentBuilder bridgeErrorHandler​(boolean bridgeErrorHandler)
        Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a: boolean type. Default: false Group: consumer
      • concurrentConsumers

        default Aws2SqsComponentBuilderFactory.Aws2SqsComponentBuilder concurrentConsumers​(int concurrentConsumers)
        Allows you to use multiple threads to poll the sqs queue to increase throughput. The option is a: int type. Default: 1 Group: consumer
      • deleteIfFiltered

        default Aws2SqsComponentBuilderFactory.Aws2SqsComponentBuilder deleteIfFiltered​(boolean deleteIfFiltered)
        Whether or not to send the DeleteMessage to the SQS queue if an exchange fails to get through a filter. If 'false' and exchange does not make it through a Camel filter upstream in the route, then don't send DeleteMessage. The option is a: boolean type. Default: true Group: consumer
      • extendMessageVisibility

        default Aws2SqsComponentBuilderFactory.Aws2SqsComponentBuilder extendMessageVisibility​(boolean extendMessageVisibility)
        If enabled then a scheduled background task will keep extending the message visibility on SQS. This is needed if it takes a long time to process the message. If set to true defaultVisibilityTimeout must be set. See details at Amazon docs. The option is a: boolean type. Default: false Group: consumer
      • kmsDataKeyReusePeriodSeconds

        default Aws2SqsComponentBuilderFactory.Aws2SqsComponentBuilder kmsDataKeyReusePeriodSeconds​(Integer kmsDataKeyReusePeriodSeconds)
        The length of time, in seconds, for which Amazon SQS can reuse a data key to encrypt or decrypt messages before calling AWS KMS again. An integer representing seconds, between 60 seconds (1 minute) and 86,400 seconds (24 hours). Default: 300 (5 minutes). The option is a: java.lang.Integer type. Group: consumer
      • messageAttributeNames

        default Aws2SqsComponentBuilderFactory.Aws2SqsComponentBuilder messageAttributeNames​(String messageAttributeNames)
        A list of message attribute names to receive when consuming. Multiple names can be separated by comma. The option is a: java.lang.String type. Group: consumer
      • serverSideEncryptionEnabled

        default Aws2SqsComponentBuilderFactory.Aws2SqsComponentBuilder serverSideEncryptionEnabled​(boolean serverSideEncryptionEnabled)
        Define if Server Side Encryption is enabled or not on the queue. The option is a: boolean type. Default: false Group: consumer
      • visibilityTimeout

        default Aws2SqsComponentBuilderFactory.Aws2SqsComponentBuilder visibilityTimeout​(Integer visibilityTimeout)
        The duration (in seconds) that the received messages are hidden from subsequent retrieve requests after being retrieved by a ReceiveMessage request to set in the com.amazonaws.services.sqs.model.SetQueueAttributesRequest. This only make sense if its different from defaultVisibilityTimeout. It changes the queue visibility timeout attribute permanently. The option is a: java.lang.Integer type. Group: consumer
      • waitTimeSeconds

        default Aws2SqsComponentBuilderFactory.Aws2SqsComponentBuilder waitTimeSeconds​(Integer waitTimeSeconds)
        Duration in seconds (0 to 20) that the ReceiveMessage action call will wait until a message is in the queue to include in the response. The option is a: java.lang.Integer type. Group: consumer
      • lazyStartProducer

        default Aws2SqsComponentBuilderFactory.Aws2SqsComponentBuilder 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
      • messageDeduplicationIdStrategy

        default Aws2SqsComponentBuilderFactory.Aws2SqsComponentBuilder messageDeduplicationIdStrategy​(String messageDeduplicationIdStrategy)
        Only for FIFO queues. Strategy for setting the messageDeduplicationId on the message. Can be one of the following options: useExchangeId, useContentBasedDeduplication. For the useContentBasedDeduplication option, no messageDeduplicationId will be set on the message. The option is a: java.lang.String type. Default: useExchangeId Group: producer
      • messageGroupIdStrategy

        default Aws2SqsComponentBuilderFactory.Aws2SqsComponentBuilder messageGroupIdStrategy​(String messageGroupIdStrategy)
        Only for FIFO queues. Strategy for setting the messageGroupId on the message. Can be one of the following options: useConstant, useExchangeId, usePropertyValue. For the usePropertyValue option, the value of property CamelAwsMessageGroupId will be used. The option is a: java.lang.String type. Group: producer
      • operation

        default Aws2SqsComponentBuilderFactory.Aws2SqsComponentBuilder operation​(org.apache.camel.component.aws2.sqs.Sqs2Operations operation)
        The operation to do in case the user don't want to send only a message. The option is a: org.apache.camel.component.aws2.sqs.Sqs2Operations type. Group: producer
      • autowiredEnabled

        default Aws2SqsComponentBuilderFactory.Aws2SqsComponentBuilder autowiredEnabled​(boolean autowiredEnabled)
        Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. The option is a: boolean type. Default: true Group: advanced
      • queueUrl

        default Aws2SqsComponentBuilderFactory.Aws2SqsComponentBuilder queueUrl​(String queueUrl)
        To define the queueUrl explicitly. All other parameters, which would influence the queueUrl, are ignored. This parameter is intended to be used, to connect to a mock implementation of SQS, for testing purposes. The option is a: java.lang.String type. Group: advanced
      • receiveMessageWaitTimeSeconds

        default Aws2SqsComponentBuilderFactory.Aws2SqsComponentBuilder receiveMessageWaitTimeSeconds​(Integer receiveMessageWaitTimeSeconds)
        If you do not specify WaitTimeSeconds in the request, the queue attribute ReceiveMessageWaitTimeSeconds is used to determine how long to wait. The option is a: java.lang.Integer type. Group: queue