239.3. Spring Boot 자동 구성
구성 요소는 아래에 나열된 70 개의 옵션을 지원합니다.
이름 | 설명 | Default | 유형 |
---|---|---|---|
camel.component.netty.configuration.allow-default-codec | netty 구성 요소는 인코더/디코더가 모두 null이고 텍스트 줄이 false인 경우 기본 codec를 설치합니다. allowDefaultCodec를 false로 설정하면 netty 구성 요소가 필터 체인의 첫 번째 요소로 기본 codec를 설치하지 않습니다. | true | 부울 |
camel.component.netty.configuration.auto-append-delimiter | 텍스트 코드c를 사용하여 보낼 때 누락된 엔드 구분 기호를 자동으로 추가할지 여부입니다. | true | 부울 |
camel.component.netty.configuration.backlog | netty 소비자(서버)에 대한 백로그를 구성할 수 있습니다. 백로그는 OS에 따라 최상의 노력입니다. 이 옵션을 200, 500 또는 1000과 같은 값으로 설정하면 TCP 스택에 수락 대기열이 구성되지 않은 경우 백로그가 OS 설정에 따라 달라집니다. | 정수 | |
camel.component.netty.configuration.boss-count | netty가 nio 모드에서 작동할 때 Netty의 기본 바디셔널Count 매개변수를 사용합니다. 이 매개변수는 1입니다. 사용자는 이 작업을 사용하여 Netty의 기본 바운더Count를 재정의할 수 있습니다. | 1 | 정수 |
camel.component.netty.configuration.boss-pool | 명시적 org.jboss.netty.channel.socket.nio.BossPool을 경신 스레드 풀로 사용합니다. 예를 들어 여러 소비자와 스레드 풀을 공유합니다. 기본적으로 각 소비자는 하나의 코어 스레드를 가진 자체 바운더 풀이 있습니다. | 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 | 사용자 정의 ClientPipelineECDHEy를 사용하려면 | ClientPipelineFactory | |
camel.component.netty.configuration.connect-timeout | 소켓 연결을 사용할 수 있을 때까지 대기하는 시간입니다. value는 밀리입니다. | 10000 | long |
camel.component.netty.configuration.decoder-max-line-length | 텍스트 코드c에 사용할 최대 행 길이입니다. | 1024 | 정수 |
camel.component.netty.configuration.decoders | 사용할 디코더 목록입니다. 쉼표로 구분된 값을 가진 문자열을 사용할 수 있으며 레지스트리에서 값을 조회할 수 있습니다. 값 앞에 #을 붙여야 합니다. 따라서 Camel은 조회해야 한다는 것을 알고 있습니다. | list | |
camel.component.netty.configuration.delimiter | 텍스트 코드c에 사용할 구분 기호입니다. 가능한 값은 LINE 및 NULL입니다. | TextLineDelimiter | |
camel.component.netty.configuration.disconnect | 사용 후 Netty Channel에서 연결을 끊을지 여부입니다. 소비자와 생산자 모두에 사용할 수 있습니다. | false | 부울 |
camel.component.netty.configuration.disconnect-on-no-reply | 동기화가 활성화되면 이 옵션은 NettyConsumer를 다시 보낼 응답이 없는 경우 연결을 끊습니다. | true | 부울 |
camel.component.netty.configuration.enabled-protocols | SSL을 사용할 때 사용할 프로토콜 | TLSv1,TLSv1.1,TLSv1.2 | 문자열 |
camel.component.netty.configuration.encoders | 사용할 인코딩기 목록입니다. 쉼표로 구분된 값을 가진 문자열을 사용할 수 있으며 레지스트리에서 값을 조회할 수 있습니다. 값 앞에 #을 붙여야 합니다. 따라서 Camel은 조회해야 한다는 것을 알고 있습니다. | list | |
camel.component.netty.configuration.encoding | 텍스트 코드c에 사용할 인코딩(ankginset name)입니다. 제공되지 않는 경우 Camel은 JVM 기본값을 사용합니다. | 문자열 | |
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 프로듀서가 시작될 때 원격 서버가 가동되지 않고 실행되지 않는 경우 예외가 발생하지 않도록 채널은 lazily를 생성할 수 있습니다. | 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 | 사용자 지정 NettyServerBootstrapECDHEy를 사용하려면 | NettyServerBootstrap Factory | |
camel.component.netty.configuration.network-interface | UDP를 사용하는 경우 이 옵션을 사용하여 멀티캐스트 그룹에 참여하도록 eth0과 같은 네트워크 인터페이스를 이름으로 지정할 수 있습니다. | 문자열 | |
camel.component.netty.configuration.no-reply-log-level | sync가 활성화된 경우 이 옵션은 NettyConsumer에 로깅할 응답이 없을 때 사용할 로깅 수준을 지정합니다. | LoggingLevel | |
camel.component.netty.configuration.options | options.를 접두사로 사용하여 추가 netty 옵션을 구성할 수 있습니다. 예를 들어 option.child.keepAlive=false를 사용하여 netty 옵션 child.keepAlive=false를 설정합니다. 사용할 수 있는 옵션은 Netty 설명서를 참조하십시오. | map | |
camel.component.netty.configuration.ordered-thread-pool-executor | 순서가 지정된 스레드 풀을 사용하여 이벤트가 동일한 채널에서 순서대로 처리되도록 합니다. 자세한 내용은 org.jboss .netty.handler.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 | 유휴 개체 evictor에 의해 제거되기 전에 오브젝트가 풀에 유휴 상태로 있을 수 있는 최소 시간(밀리 단위)을 설정합니다. | 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 | 버퍼 크기 예측기를 구성합니다. 자세한 내용은 이 메일 스레드 및 문서의 내용을 참조하십시오. | 정수 | |
camel.component.netty.configuration.request-timeout | 원격 서버를 호출할 때 Netty 프로듀서에 대한 타임아웃을 사용할 수 있습니다. 기본적으로 제한 시간은 사용되지 않습니다. 값은 밀리 초이므로 eg 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.gradledChannelException을 수신한 경우 이 로깅 수준을 사용하여 기록됩니다. 클라이언트가 갑자기 연결을 끊은 다음 Netty 서버에서 폐쇄된 예외의 플러드를 일으킬 수 있으므로 폐쇄 채널 예외의 로깅을 방지하는 데 사용됩니다. | LoggingLevel | |
camel.component.netty.configuration.server-exception-caught-log-level | 서버(NettyConsumer)가 예외를 catch한 경우 이 로깅 수준을 사용하여 기록됩니다. | LoggingLevel | |
camel.component.netty.configuration.server-pipeline-factory | 사용자 지정 ServerPipelineECDHEy를 사용하려면 | ServerPipelineFactory | |
camel.component.netty.configuration.ssl | SSL 암호화가 이 끝점에 적용되는지 여부를 지정하는 설정 | false | 부울 |
camel.component.netty.configuration.ssl-client-cert-headers | 활성화 및 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 | 끝점을 단방향 또는 request-response로 설정하도록 설정 | true | 부울 |
camel.component.netty.configuration.tcp-no-delay | TCP 프로토콜 성능 향상을 위한 설정 | true | 부울 |
camel.component.netty.configuration.textline | TCP에만 사용됩니다. 이 플래그를 지정하지 않으면 이 플래그를 사용하여 텍스트 행 기반 codec를 나타낼 수 있습니다. 지정하지 않거나 값이 false인 경우 개체 직렬화로 TCP로 가정합니다. | false | 부울 |
camel.component.netty.configuration.transfer-exchange | TCP에만 사용됩니다. 교환은 바디 대신 전구를 통해 전송할 수 있습니다. 본문, 아웃 바디, 결함 본문, In headers, Out headers, fault headers, exchange properties, exchange exception이 전송됩니다. 이를 위해서는 오브젝트가 직렬화할 수 있어야 합니다. Camel은 직렬화할 수 없는 오브젝트를 제외하고 WARN 수준에서 기록합니다. | false | 부울 |
camel.component.netty.configuration.trust-store-resource | 암호화에 사용할 서버 사이드 인증서 키 저장소입니다. 기본적으로 classpath에서 로드되지만 classpath:, file: 또는 http: 접두사를 추가하여 다른 시스템에서 리소스를 로드할 수 있습니다. | 문자열 | |
camel.component.netty.configuration.udp-connectionless-sending | 이 옵션은 실제 실행 및 잊어버리는 연결이 덜되는 연결을 지원합니다. 연결된 udp send는 수신 포트에서 수신 대기하지 않는 경우 PortUnreachableException을 수신합니다. | false | 부울 |
camel.component.netty.configuration.use-channel-buffer | useChannelBuffer가 true인 경우 netty 생산자는 메시지 본문을 전송하기 전에 ChannelBuffer로 전환합니다. | false | 부울 |
camel.component.netty.configuration.worker-count | netty가 nio 모드에서 작동하는 경우 Netty의 기본 workerCount 매개변수를 사용합니다. 이 매개변수는 cpu_core_threads2입니다. 이 작업을 사용하여 Netty의 기본 workerCount를 덮어쓸 수 있습니다. | 정수 | |
camel.component.netty.configuration.worker-pool | 명시적으로 org.jboss.netty.channel.socket.nio.WorkerPool을 작업자 스레드 풀로 사용합니다. 예를 들어 여러 소비자와 스레드 풀을 공유합니다. 기본적으로 각 소비자에는 2 x cpu count 코어 스레드가 있는 자체 작업자 풀이 있습니다. | 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 클래스입니다. org.jboss.netty.channel.ChannelUpStreamHandler를 덮어써야 합니다. | ChannelHandler | |
camel.component.netty.configuration.encoder | 아웃바운드 페이로드의 특수 마샬링을 수행하는 데 사용할 수 있는 사용자 지정 ChannelHandler 클래스입니다. 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 | 암호화에 사용할 서버 사이드 인증서 키 저장소 | 파일 |