224.3. Spring Boot Auto-Configuration


구성 요소는 아래 표시된 29 가지 옵션을 지원합니다.

Expand
이름설명기본값유형

camel.component.mina2.configuration.allow-default-codec

mina 구성 요소는 모두 codec가 null이고 텍스트 줄이 false인 경우 기본 codec를 설치합니다. allowDefaultCodec를 false로 설정하면 mina 구성 요소가 필터 체인의 첫 번째 요소로 기본 codec를 설치할 수 없습니다. 이는 다른 필터가 SSL 필터와 같이 필터 체인에서 첫 번째 필터여야 하는 시나리오에서 유용합니다.

true

부울

camel.component.mina2.configuration.auto-start-tls

자동으로 SSL 핸드셰이크를 시작할지 여부입니다.

true

부울

camel.component.mina2.configuration.cached-address

InetAddress를 한 번 생성하고 재사용할지 여부입니다. 이 값을 false로 설정하면 네트워크에서 DNS 변경 사항을 선택할 수 있습니다.

true

부울

camel.component.mina2.configuration.client-mode

clientMode가 true인 경우 mina consumer는 주소를 TCP 클라이언트로 연결합니다.

false

부울

camel.component.mina2.configuration.codec

사용자 지정 minda 코덱 구현을 사용합니다.

 

ProtocolCodecFactory

camel.component.mina2.configuration.decoder-max-line-length

텍스트 라인 프로토콜 디코더 최대 라인 길이를 설정하려면 다음을 수행합니다. 기본적으로 Mina 자체의 기본값은 1024입니다.

1024

정수

camel.component.mina2.configuration.disconnect

사용 후 Mina 세션에서 연결을 끊길지 여부입니다. 소비자와 생산자 모두에 사용할 수 있습니다.

false

부울

camel.component.mina2.configuration.disconnect-on-no-reply

동기화가 활성화되면 이 옵션은 MinaConsumer를 연결 해제해야 하는 경우 다시 보낼 응답이 없는 경우 MinaConsumer를 지정합니다.

true

부울

camel.component.mina2.configuration.encoder-max-line-length

텍스트 라인 프로토콜을 설정하려면 최대 줄 길이를 인코딩합니다. 기본적으로 Mina 자체의 기본값은 Integer.MAX_VALUE입니다.

-1

정수

camel.component.mina2.configuration.encoding

TCP 텍스트 줄 코덱 및 UDP 프로토콜에 사용할 인코딩( charset 이름)을 구성할 수 있습니다. 제공되지 않는 경우 Camel은 JVM 기본 Charset을 사용합니다.

 

문자열

camel.component.mina2.configuration.filters

사용할 Mina IoFilters 목록을 설정할 수 있습니다.

 

list

camel.component.mina2.configuration.host

사용할 호스트 이름입니다. 로컬 서버의 경우 localhost 또는 0.0.0.0을 소비자로 사용합니다. 생산자는 원격 서버의 호스트 이름 또는 ip 주소를 사용합니다.

 

문자열

camel.component.mina2.configuration.lazy-session-creation

Camel 생산자가 시작될 때 원격 서버가 시작되어 실행되지 않는 경우 예외를 방지하기 위해 세션을 지연할 수 있습니다.

true

부울

camel.component.mina2.configuration.maximum-pool-size

TCP 및 UDP용 작업자 풀의 작업자 스레드 수

16

정수

camel.component.mina2.configuration.mina-logger

Apache MINA 로깅 필터를 활성화할 수 있습니다. Apache MINA는 slf4j 로깅을 INFO 수준에서 사용하여 모든 입력 및 출력을 기록합니다.

false

부울

camel.component.mina2.configuration.no-reply-log-level

동기화가 활성화된 경우 이 옵션은 MinaConsumer가 로깅할 때 사용할 로깅 수준을 지정합니다.

 

LoggingLevel

camel.component.mina2.configuration.ordered-thread-pool-executor

이벤트가 동일한 채널에서 순서대로 처리되도록 정렬된 스레드 풀을 사용할지 여부입니다.

true

부울

camel.component.mina2.configuration.port

포트 번호

 

정수

camel.component.mina2.configuration.protocol

프로토콜 사용

 

문자열

camel.component.mina2.configuration.ssl-context-parameters

SSL 보안을 구성하려면 다음을 수행합니다.

 

SSLContextParameters

camel.component.mina2.configuration.sync

endpoint를 one-way 또는 request-response로 설정합니다.

true

부울

camel.component.mina2.configuration.textline

TCP에만 사용됩니다. codec를 지정하지 않으면 이 플래그를 사용하여 텍스트 줄 기반 codec를 나타낼 수 있습니다. 지정하지 않거나 값이 false이면 Object Serialization이 TCP를 통해 가정됩니다.

false

부울

camel.component.mina2.configuration.textline-delimiter

TCP에만 사용되며 textline=true인 경우에만 사용됩니다. 사용할 텍스트 줄 구분 기호를 설정합니다. 제공되지 않는 경우 Camel은 DEFAULT를 사용합니다. 이 구분 기호는 텍스트 끝을 표시하는 데 사용됩니다.

 

Mina2TextLineDelimiter

camel.component.mina2.configuration.timeout

원격 서버의 응답 대기 시간을 지정하는 시간 제한을 구성할 수 있습니다. 시간제한 단위는 밀리초 단위입니다. 따라서 60000은 60초입니다.

30000

long

camel.component.mina2.configuration.transfer-exchange

TCP에만 사용됩니다. 당신은 단지 몸 대신 전선을 통해 교환을 전송할 수 있습니다. 다음 필드가 전송됩니다. 본문, Out body, fault body, In headers, Out headers, fault headers, exchange properties, exchange exception로 전송됩니다. 이렇게 하려면 개체가 직렬화 가능 해야 합니다.This requires that the objects are serializable. Camel은 non-serializable 오브젝트를 제외하고 WARN 수준에서 로깅합니다.

false

부울

camel.component.mina2.configuration.write-timeout

MINA 세션에 데이터를 보내는 데 걸리는 최대 시간. 기본값은 10000밀리초입니다.

10000

long

camel.component.mina2.enabled

mina2 구성 요소 활성화

true

부울

camel.component.mina2.resolve-property-placeholders

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

true

부울

camel.component.mina2.use-global-ssl-context-parameters

글로벌 SSL 컨텍스트 매개 변수의 사용을 활성화합니다.

false

부울

맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat