19.5. Spring Boot Auto-Configuration

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

이름설명기본값유형

camel.component.avro.configuration.host

사용할 호스트 이름

 

문자열

camel.component.avro.configuration.message-name

보낼 메시지의 이름입니다.

 

문자열

camel.component.avro.configuration.port

사용할 포트 번호

 

정수

camel.component.avro.configuration.protocol

사용할 Avro 프로토콜

 

프로토콜

camel.component.avro.configuration.protocol-class-name

FQN 클래스 이름으로 정의된 Avro 프로토콜

 

문자열

camel.component.avro.configuration.protocol-location

Avro 프로토콜 위치

 

문자열

camel.component.avro.configuration.reflection-protocol

제공되는 protocol 오브젝트가 리플렉션 프로토콜입니다. protocolClassName 프로토콜 유형에서 자동으로 감지되므로 protocol 매개 변수에서만 사용해야 합니다.

false

부울

camel.component.avro.configuration.single-parameter

true인 경우 consumer 매개변수는 배열로 래핑되지 않습니다. protocol이 메시지에 대해 1개의 매개 변수를 더 많이 지정하는 경우 실패합니다.

false

부울

camel.component.avro.configuration.transport

사용할 전송은 http 또는 netty일 수 있습니다.

 

AvroTransport

camel.component.avro.configuration.uri-authority

사용 권한(사용자 이름 및 암호)

 

문자열

camel.component.avro.enabled

avro 구성 요소 활성화

true

부울

camel.component.avro.resolve-property-placeholders

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

true

부울

camel.dataformat.avro.content-type-header

데이터 형식이 데이터 형식에서 수행할 수 있는 경우 데이터 형식의 유형으로 Content-Type 헤더를 설정해야 하는지 여부입니다. 예를 들어 데이터 형식을 XML로 마샬링하거나, JSon으로 마샬링되는 데이터 형식에 대한 application/json 등이 있습니다.

false

부울

camel.dataformat.avro.enabled

avro dataformat 활성화

true

부울

camel.dataformat.avro.instance-class-name

마샬링 및 unmarshalling에 사용할 클래스 이름

 

문자열