35.3. Spring Boot Auto-Configuration

구성 요소는 아래 나열된 31 가지 옵션을 지원합니다.

이름설명기본값유형

camel.component.aws-sqs.access-key

Amazon AWS Access Key

 

문자열

camel.component.aws-sqs.configuration.access-key

Amazon AWS Access Key

 

문자열

camel.component.aws-sqs.configuration.amazon-a-w-s-host

Amazon AWS 클라우드의 호스트 이름입니다.

amazonaws.com

문자열

camel.component.aws-sqs.configuration.amazon-s-q-s-client

AmazonSQS를 클라이언트로 사용하기

 

AmazonSQS

camel.component.aws-sqs.configuration.attribute-names

사용할 때 수신할 속성 이름 목록입니다. 여러 이름은 쉼표로 구분할 수 있습니다.

 

문자열

camel.component.aws-sqs.configuration.concurrent-consumers

여러 스레드를 사용하여 sqs 대기열을 폴링하여 처리량을 늘릴 수 있습니다.

1

정수

camel.component.aws-sqs.configuration.default-visibility-timeout

기본 표시 시간 초과(초)

 

정수

camel.component.aws-sqs.configuration.delay-queue

대기열 또는 단일 메시지에 delaySeconds 옵션을 적용하려면 정의합니다.

false

부울

camel.component.aws-sqs.configuration.delay-seconds

몇 초 동안 메시지 전송이 지연됩니다.

 

정수

camel.component.aws-sqs.configuration.delete-after-read

읽은 후 SQS에서 메시지 삭제

true

부울

camel.component.aws-sqs.configuration.delete-if-filtered

Exchange에서 필터를 통해 얻을 수 없는 경우 DeleteMessage를 SQS 큐에 보낼지 여부입니다. 'false'와 교환이 경로의 Camel 필터 업스트림을 통해 이를 수행하지 않는 경우 DeleteMessage를 보내지 마십시오.

true

부울

camel.component.aws-sqs.configuration.extend-message-visibility

활성화된 경우 예약된 백그라운드 작업은 SQS에서 메시지 가시성을 계속 확장합니다. 이 작업은 메시지를 처리하는 데 시간이 오래 걸리는 경우 필요합니다. true defaultVisibilityTimeout로 설정된 경우 를 설정해야 합니다. 자세한 내용은 Amazon docs에서 참조하십시오.

false

부울

camel.component.aws-sqs.configuration.maximum-message-size

SQS 메시지에는 이 큐에 대해 포함할 수 있는 maximumMessageSize(바이트 단위)입니다.

 

정수

camel.component.aws-sqs.configuration.message-attribute-names

사용할 때 수신할 메시지 속성 이름 목록입니다. 여러 이름은 쉼표로 구분할 수 있습니다.

 

문자열

camel.component.aws-sqs.configuration.message-retention-period

messageRetentionPeriod(초)는 이 대기열에 대해 SQS가 메시지를 유지합니다.

 

정수

camel.component.aws-sqs.configuration.policy

이 큐의 정책

 

문자열

camel.component.aws-sqs.configuration.proxy-host

SQS 클라이언트를 인스턴스화할 때 프록시 호스트를 정의하기 위해

 

문자열

camel.component.aws-sqs.configuration.proxy-port

SQS 클라이언트를 인스턴스화할 때 프록시 포트 정의

 

정수

camel.component.aws-sqs.configuration.queue-name

큐 이름입니다. 큐가 없으면 해당 큐가 생성됩니다.

 

문자열

camel.component.aws-sqs.configuration.queue-owner-a-w-s-account-id

큐를 다른 계정 소유자와 연결해야 할 때 큐 소유자 aws 계정 ID를 지정합니다.

 

문자열

camel.component.aws-sqs.configuration.queue-url

queueUrl을 명시적으로 정의하려면 다음을 수행합니다. queueUrl에 영향을 미치는 다른 모든 매개변수는 무시됩니다. 이 매개변수는 테스트 목적으로 SQS의 모크 구현에 연결하는 데 사용됩니다.

 

문자열

camel.component.aws-sqs.configuration.receive-message-wait-time-seconds

요청에 WaitTimeSeconds를 지정하지 않으면 대기 시간을 결정하는 데 queue 속성 ReceiveMessageWaitTimeSeconds를 사용합니다.

 

정수

camel.component.aws-sqs.configuration.redrive-policy

DeadLetter 큐에 메시지를 보내는 정책을 지정합니다. 자세한 내용은 Amazon docs에서 참조하십시오.

 

문자열

camel.component.aws-sqs.configuration.region

queueOwnerAWSAccountId와 함께 사용할 수 있는 큐 리전을 지정하여 서비스 URL을 빌드합니다.

 

문자열

camel.component.aws-sqs.configuration.secret-key

Amazon AWS Secret Key

 

문자열

camel.component.aws-sqs.configuration.visibility-timeout

수신한 메시지가 com.amazonaws.services.sqs.model.SetQueueAttributesRequest에서 설정되도록 받은 메시지가 후속 검색 요청에서 숨겨진 기간(초)입니다. 이는 defaultVisibilityTimeout과 다른 경우에만 의미가 있습니다. 큐 표시 시간 초과 속성을 영구적으로 변경합니다.

 

정수

camel.component.aws-sqs.configuration.wait-time-seconds

ReceiveMessage 작업 호출이 응답에 포함될 대기열에 있을 때까지 대기할 시간(초)입니다.

 

정수

camel.component.aws-sqs.enabled

aws-sqs 구성 요소 활성화

true

부울

camel.component.aws-sqs.region

queueOwnerAWSAccountId와 함께 사용할 수 있는 큐 리전을 지정하여 서비스 URL을 빌드합니다.

 

문자열

camel.component.aws-sqs.resolve-property-placeholders

구성 요소가 시작 시 자체적으로 속성 자리 표시자를 확인해야 하는지 여부입니다. String 유형의 속성만 속성 자리 표시자를 사용할 수 있습니다.Only properties which are of String type can use property placeholders.

true

부울

camel.component.aws-sqs.secret-key

Amazon AWS Secret Key

 

문자열

필수 SQS 구성 요소 옵션

Amazon의 SQS에 액세스하려면 레지스트리 또는 accessKey 및 secretKey에 amazonSQSClient를 제공해야 합니다.