11.2. Spring Boot Auto-Configuration

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

이름설명기본값유형

camel.component.atmosphere-websocket.allow-java-serialized-object

요청이 context-type=application/x-java-serialized-object를 사용할 때 java serialization을 허용할지 여부입니다. 이 설정은 기본적으로 꺼져 있습니다. 이를 활성화하면 Java가 요청에서 Java로 들어오는 데이터를 역직렬화하고 잠재적인 보안 위험이 될 수 있다는 점에 유의하십시오.

false

부울

camel.component.atmosphere-websocket.attachment-multipart-binding

Camel Exchange의 첨부 파일로 multipart/form-data를 자동 바인딩할지 여부입니다. attachment attachmentMultipartBinding=true 및 disableStreamCache=false 옵션이 함께 작동할 수 없습니다. AttachmentMultipartBinding을 사용하려면 disableStreamCache를 제거합니다. Servlet을 사용할 때 이를 활성화하려면 서블릿별 구성이 필요할 수 있으므로 기본적으로 이 기능이 꺼집니다.

false

부울

camel.component.atmosphere-websocket.enabled

대기 웹 소켓 구성 요소 사용

true

부울

camel.component.atmosphere-websocket.file-name-ext-whitelist

업로드된 파일을 수락하기 위해 허용된 파일 이름 확장자의 허용 목록. txt,xml과 같은 여러 확장 기능을 쉼표로 구분할 수 있습니다.

 

문자열

camel.component.atmosphere-websocket.header-filter-strategy

사용자 지정 org.apache.camel.spi.HeaderFilterStrategy를 사용하여 Camel 메시지로 헤더를 필터링하려면 다음을 수행합니다. 옵션은 org.apache.camel.spi.HeaderFilterStrategy 유형입니다.

 

문자열

camel.component.atmosphere-websocket.http-binding

사용자 지정 HttpBinding을 사용하여 Camel 메시지와 HttpClient 간의 매핑을 제어합니다. 옵션은 org.apache.camel.http.common.HttpBinding 유형입니다.

 

문자열

camel.component.atmosphere-websocket.http-configuration

공유 HttpConfiguration을 기본 구성으로 사용하려면 다음을 수행합니다. 옵션은 org.apache.camel.http.common.HttpConfiguration 유형입니다.

 

문자열

camel.component.atmosphere-websocket.http-registry

사용자 지정 org.apache.camel.component.servlet.HttpRegistry를 사용합니다. 옵션은 org.apache.camel.component.servlet.HttpRegistry 유형입니다.

 

문자열

camel.component.atmosphere-websocket.resolve-property-placeholders

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

true

부울

camel.component.atmosphere-websocket.servlet-name

사용할 서블릿의 기본 이름입니다. 기본 이름은 CamelServlet입니다.

CamelServlet

문자열