239.3. Spring Boot Auto-Configuration
구성 요소는 아래 나열된 70 가지 옵션을 지원합니다.
| 이름 | 설명 | 기본값 | 유형 |
|---|---|---|---|
| camel.component.netty.configuration.allow-default-codec | netty 구성 요소는 인코더/디코더 모두 null이고 텍스트 줄은 false인 경우 기본 codec를 설치합니다. allowDefaultCodec를 false로 설정하면 netty 구성 요소가 필터 체인의 첫 번째 요소로 기본 codec를 설치하지 못하게 합니다. | true | 부울 |
| camel.component.netty.configuration.auto-append-delimiter | 텍스트 줄 코덱을 사용하여 보낼 때 끝 구분 기호를 자동으로 추가할지 여부입니다. | true | 부울 |
| camel.component.netty.configuration.backlog | 네트워크 소비자(서버)에 대한 백로그를 구성할 수 있습니다. 백로그는 OS에 따라 최상의 노력일 뿐입니다. 이 옵션을 200, 500 또는 1000과 같은 값으로 설정하면 TCP 스택에 이 옵션이 구성되지 않은 경우 백로그가 OS 설정에 따라 달라집니다. | 정수 | |
| camel.component.netty.configuration.boss-count | netty가 nio 모드에서 작동하면 Netty의 기본 bossCount 매개변수를 1입니다. 사용자는 이 작업을 사용하여 Netty에서 기본 bossCount를 재정의할 수 있습니다. | 1 | 정수 |
| camel.component.netty.configuration.boss-pool | 명시적 org.jboss.netty.channel.nio.BossPool을 보스 스레드 풀로 사용하려면 다음을 수행합니다. 예를 들어 스레드 풀을 여러 소비자와 공유합니다. 기본적으로 각 소비자는 코어 스레드가 1개인 고유한 보스 풀을 갖습니다. | BossPool | |
| camel.component.netty.configuration.broadcast | UDP를 통해 멀티캐스트를 선택하기 위한 설정 | false | 부울 |
| camel.component.netty.configuration.channel-group | 명시적인 ChannelGroup을 사용하려면 다음을 수행합니다. | ChannelGroup | |
| camel.component.netty.configuration.client-mode | clientMode가 true인 경우 netty 소비자는 주소를 TCP 클라이언트로 연결합니다. | false | 부울 |
| camel.component.netty.configuration.client-pipeline-factory | 사용자 지정 ClientPipelineFactory를 사용하려면 다음을 수행합니다. | ClientPipelineFactory | |
| camel.component.netty.configuration.connect-timeout | 소켓 연결을 사용할 수 있을 때까지 대기하는 시간입니다. 값은 밀리에 있습니다. | 10000 | long |
| camel.component.netty.configuration.decoder-max-line-length | 텍스트 줄 코덱에 사용할 최대 줄 길이입니다. | 1024 | 정수 |
| camel.component.netty.configuration.decoders | 사용할 디코더 목록입니다. 값이 쉼표로 구분되어 있는 String을 사용하여 레지스트리에 값을 조회할 수 있습니다.You can use a String which have values separated by comma, and have the values be looked up in the Registry. # so Camel이 조회해야 함을 알 수 있도록 값 앞에 접두사를 붙여야 합니다. | list | |
| camel.component.netty.configuration.delimiter | 텍스트 줄 코덱에 사용할 구분 기호입니다. 가능한 값은 LINE 및 NULL입니다. | TextLineDelimiter | |
| camel.component.netty.configuration.disconnect | 사용 후 Netty 채널에서 연결을 끊을지 여부입니다. 소비자와 생산자 모두에 사용할 수 있습니다. | false | 부울 |
| camel.component.netty.configuration.disconnect-on-no-reply | 동기화가 활성화된 경우 이 옵션은 NettyConsumer를 지정합니다. 이 옵션은 회신이 다시 보낼 응답이 없는 위치에서 분리해야 하는 경우 NettyConsumer를 지정합니다. | true | 부울 |
| camel.component.netty.configuration.enabled-protocols | SSL을 사용할 때 사용할 수 있는 프로토콜 | TLSv1,TLSv1.1,TLSv1.2 | 문자열 |
| camel.component.netty.configuration.encoders | 사용할 인코더 목록입니다. 값이 쉼표로 구분되어 있는 String을 사용하여 레지스트리에 값을 조회할 수 있습니다.You can use a String which have values separated by comma, and have the values be looked up in the Registry. # so Camel이 조회해야 함을 알 수 있도록 값 앞에 접두사를 붙여야 합니다. | list | |
| camel.component.netty.configuration.encoding | 텍스트 줄 코덱에 사용할 인코딩( charset 이름)입니다. 제공되지 않는 경우 Camel은 JVM 기본 Charset을 사용합니다. | 문자열 | |
| camel.component.netty.configuration.host | 호스트 이름입니다. 소비자의 경우 호스트 이름은 localhost 또는 0.0.0.0입니다. 생산자의 경우 호스트 이름은 연결할 원격 호스트입니다. | 문자열 | |
| camel.component.netty.configuration.keep-alive | 비활성으로 인해 소켓이 종료되지 않았는지 확인하도록 를 설정합니다. | true | 부울 |
| camel.component.netty.configuration.key-store-format | 페이로드 암호화에 사용할 키 저장소 형식입니다. 설정하지 않는 경우 기본값은 JKS입니다. | JKS | 문자열 |
| camel.component.netty.configuration.key-store-resource | 암호화에 사용할 클라이언트 측 인증서 키 저장소입니다. 기본적으로 classpath에서 로드되지만, classpath:, file: 또는 http:를 사용하여 다른 시스템에서 리소스를 로드할 수 있습니다. | 문자열 | |
| camel.component.netty.configuration.lazy-channel-creation | Camel 생산자가 시작될 때 원격 서버가 시작되어 실행되지 않는 경우 예외를 피하기 위해 채널을 지연할 수 있습니다. | true | 부울 |
| camel.component.netty.configuration.max-channel-memory-size | orderedThreadPoolExecutor를 사용하는 경우 채널당 대기 중인 이벤트의 최대 총 크기입니다. 비활성화하려면 0을 지정합니다. | 10485760 | long |
| camel.component.netty.configuration.max-total-memory-size | orderedThreadPoolExecutor를 사용하는 경우 이 풀에 대해 대기 중인 이벤트의 최대 총 크기입니다. 비활성화하려면 0을 지정합니다. | 209715200 | long |
| camel.component.netty.configuration.need-client-auth | SSL을 사용할 때 서버에 클라이언트 인증이 필요한지 여부를 구성합니다. | false | 부울 |
| camel.component.netty.configuration.netty-server-bootstrap-factory | 사용자 정의 NettyServerBootstrapFactory를 사용하려면 | NettyServerBootstrap Factory | |
| camel.component.netty.configuration.network-interface | UDP를 사용하는 경우 이 옵션을 사용하여 멀티캐스트 그룹에 참여하도록 eth0과 같이 네트워크 인터페이스를 이름에 지정할 수 있습니다. | 문자열 | |
| camel.component.netty.configuration.no-reply-log-level | 동기화가 활성화된 경우 이 옵션이 NettyConsumer에 로깅을 기록할 때 사용할 로깅 수준을 지정합니다. | LoggingLevel | |
| camel.component.netty.configuration.options | 의 접두사로 option.을 사용하여 추가 netty 옵션을 구성할 수 있습니다. 예를 들어, netty 옵션 child.keepAlive=false를 설정하는 option.child.keepAlive=false입니다. 사용할 수 있는 옵션은 Netty 설명서를 참조하십시오. | map | |
| camel.component.netty.configuration.ordered-thread-pool-executor | 이벤트가 동일한 채널에서 순서대로 처리되도록 정렬된 스레드 풀을 사용할지 여부입니다. 자세한 내용은 org.jboss .netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor의 netty javadoc에서 참조하십시오. | true | 부울 |
| camel.component.netty.configuration.passphrase | SSH를 사용하여 전송된 페이로드 암호화/암호 해독에 사용할 암호 설정 | 문자열 | |
| camel.component.netty.configuration.port | 호스트 포트 번호 | 정수 | |
| camel.component.netty.configuration.producer-pool-enabled | 생산자 풀이 활성화되어 있는지 여부입니다. 중요: 동시성 및 신뢰할 수 있는 요청/재귀를 처리하기 위해 풀링이 필요하므로 이 기능을 해제하지 마십시오. | true | 부울 |
| camel.component.netty.configuration.producer-pool-max-active | 지정된 시간에 풀에서 할당할 수 있는 오브젝트 수(클라이언트로 확인 또는 유휴 대기 중) 수에 대한 제한을 설정합니다. 제한없이 음수 값을 사용합니다. | -1 | 정수 |
| camel.component.netty.configuration.producer-pool-max-idle | 풀의 유휴 인스턴스 수에 대한 제한을 설정합니다. | 100 | 정수 |
| camel.component.netty.configuration.producer-pool-min-evictable-idle | 유휴 오브젝트 제거자가 제거될 수 있기 전에 오브젝트가 풀에 유휴 상태로 있을 수 있는 최소 시간(값)을 설정합니다. | 300000 | long |
| camel.component.netty.configuration.producer-pool-min-idle | 제거 스레드(활성)가 새 오브젝트를 생성하기 전에 생산자 풀에 허용되는 최소 인스턴스 수를 설정합니다. | 정수 | |
| camel.component.netty.configuration.protocol | tcp 또는 udp일 수 있는 프로토콜입니다. | 문자열 | |
| camel.component.netty.configuration.receive-buffer-size | 인바운드 통신 중에 사용할 TCP/UDP 버퍼 크기입니다. 크기는 바이트입니다. | 65536 | long |
| camel.component.netty.configuration.receive-buffer-size-predictor | 버퍼 크기 예측자를 구성합니다. Jetty 문서 및 이 메일 스레드의 세부 정보를 참조하십시오. | 정수 | |
| camel.component.netty.configuration.request-timeout | 원격 서버를 호출할 때 Netty 생산자에 시간 초과를 사용할 수 있습니다. 기본적으로 시간 초과는 사용되지 않습니다. 이 값은 밀리 초이므로 30000초는 30초입니다. requestTimeout은 Netty의 ReadTimeoutHandler를 사용하여 타임아웃을 트리거합니다. | long | |
| camel.component.netty.configuration.reuse-address | 소켓 멀티플렉싱을 용이하게 하기 위해 설정 | true | 부울 |
| camel.component.netty.configuration.security-provider | 페이로드 암호화에 사용할 보안 공급자입니다. 설정하지 않는 경우 기본값은 SunX509입니다. | SunX509 | 문자열 |
| camel.component.netty.configuration.send-buffer-size | 아웃바운드 통신 중에 사용할 TCP/UDP 버퍼 크기입니다. 크기는 바이트입니다. | 65536 | long |
| camel.component.netty.configuration.server-closed-channel-exception-caught-log-level | 서버(NettyConsumer)가 java.nio.channels.ClosedChannelException을 catch하는 경우 이 로깅 수준을 사용하여 기록된 것입니다. 이를 통해 클라이언트가 순조롭게 연결을 끊은 다음 Netty 서버에서 폐쇄된 예외가 발생할 수 있으므로 폐쇄 채널 예외를 로깅하지 않도록 합니다. | LoggingLevel | |
| camel.component.netty.configuration.server-exception-caught-log-level | 서버(NettyConsumer)가 예외를 catch하면 이 로깅 수준을 사용하여 로그됩니다. | LoggingLevel | |
| camel.component.netty.configuration.server-pipeline-factory | 사용자 정의 ServerPipelineFactory를 사용하려면 다음을 수행합니다. | ServerPipelineFactory | |
| camel.component.netty.configuration.ssl | SSL 암호화가 이 끝점에 적용되는지 여부를 지정하기 위해 설정 | false | 부울 |
| camel.component.netty.configuration.ssl-client-cert-headers | SSL 모드에서 및 SSL 모드에서 사용하는 경우 Netty 소비자는 주체 이름, 발급자 이름, 일련 번호, 유효한 날짜 범위와 같은 클라이언트 인증서에 대한 정보가 포함된 Camel Message를 보강합니다. | false | 부울 |
| camel.component.netty.configuration.ssl-context-parameters | SSLContextParameters를 사용하여 보안 구성 | SSLContextParameters | |
| camel.component.netty.configuration.ssl-handler | SSL 핸들러를 반환하는 데 사용할 수 있는 클래스에 대한 참조 | SslHandler | |
| camel.component.netty.configuration.sync | 끝점을 one-way 또는 request-response로 설정 | true | 부울 |
| camel.component.netty.configuration.tcp-no-delay | TCP 프로토콜 성능 향상을 위한 설정 | true | 부울 |
| camel.component.netty.configuration.textline | TCP에만 사용됩니다. codec를 지정하지 않으면 이 플래그를 사용하여 텍스트 줄 기반 codec를 나타낼 수 있습니다. 지정하지 않거나 값이 false이면 Object Serialization이 TCP를 통해 가정됩니다. | false | 부울 |
| camel.component.netty.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.netty.configuration.trust-store-resource | 암호화에 사용할 서버 사이드 인증서 키 저장소입니다. 기본적으로 classpath에서 로드되지만, classpath:, file: 또는 http:를 사용하여 다른 시스템에서 리소스를 로드할 수 있습니다. | 문자열 | |
| camel.component.netty.configuration.udp-connectionless-sending | 이 옵션은 실제 화재 및 잊어버린 연결 덜 udp 전송을 지원합니다. 연결된 udp send는 수신 포트에서 수신 대기 중인 사람이 없는 경우 PortUnreachableException을 수신합니다. | false | 부울 |
| camel.component.netty.configuration.use-channel-buffer | useChannelBuffer가 true이면 netty 생산자가 메시지 본문을 ChannelBuffer로 변환한 후 전송합니다. | false | 부울 |
| camel.component.netty.configuration.worker-count | netty가 nio 모드에서 작동하면 cpu_core_threads2인 Netty의 기본 workerCount 매개변수를 사용합니다. 사용자는 이 작업을 사용하여 Netty에서 기본 workerCount를 재정의할 수 있습니다. | 정수 | |
| camel.component.netty.configuration.worker-pool | 명시적 org.jboss.netty.channel.nio.WorkerPool을 작업자 스레드 풀로 사용하려면 다음을 수행합니다. 예를 들어 스레드 풀을 여러 소비자와 공유합니다. 기본적으로 각 소비자에는 2 x cpu 수 코어 스레드가 있는 자체 작업자 풀이 있습니다. | WorkerPool | |
| camel.component.netty.enabled | netty 구성 요소 활성화 | true | 부울 |
| camel.component.netty.maximum-pool-size | 정렬된 스레드 풀의 코어 풀 크기입니다(사용 중인 경우). 기본값은 16입니다. | 16 | 정수 |
| camel.component.netty.resolve-property-placeholders | 구성 요소가 시작 시 자체적으로 속성 자리 표시자를 확인해야 하는지 여부입니다. String 유형의 속성만 속성 자리 표시자를 사용할 수 있습니다.Only properties which are of String type can use property placeholders. | true | 부울 |
| camel.component.netty.use-global-ssl-context-parameters | 글로벌 SSL 컨텍스트 매개 변수의 사용을 활성화합니다. | false | 부울 |
| camel.component.netty.configuration.decoder | 인바운드 페이로드의 특수 마샬링을 수행하는 데 사용할 수 있는 사용자 지정 ChannelHandler 클래스입니다.A custom ChannelHandler class that can be used to perform special marshalling of inbound payloads. Must override org.jboss.netty.channel.ChannelUpStreamHandler. | ChannelHandler | |
| camel.component.netty.configuration.encoder | 아웃바운드 페이로드의 특수 마샬링을 수행하는 데 사용할 수 있는 사용자 지정 ChannelHandler 클래스입니다. Must override org.jboss.netty.channel.ChannelDownStreamHandler. | ChannelHandler | |
| camel.component.netty.configuration.key-store-file | 암호화에 사용할 클라이언트 측 인증서 키 저장소 | 파일 | |
| camel.component.netty.configuration.maximum-pool-size | 정수 | ||
| camel.component.netty.configuration.trust-store-file | 암호화에 사용할 서버 사이드 인증서 키 저장소 | 파일 |