358.10. WildFly의 consumers


WildFly에서 camel-undertow 소비자의 구성은 독립 실행형 Camel과 다릅니다. 생산자 끝점은 정상적으로 작동합니다.

WildFly에서 camel-undertow 소비자는 컨테이너에서 제공하는 기본 Cryostat HTTP 서버를 활용합니다. 서버는 undertow 하위 시스템 구성 내에 정의됩니다. 다음은 standalone.xml의 기본 구성을 발췌한 것입니다.

<subsystem xmlns="urn:jboss:domain:undertow:4.0">
    <buffer-cache name="default" />
    <server name="default-server">
        <http-listener name="default" socket-binding="http" redirect-socket="https" enable-http2="true" />
        <https-listener name="https" socket-binding="https" security-realm="ApplicationRealm" enable-http2="true" />
        <host name="default-host" alias="localhost">
            <location name="/" handler="welcome-content" />
            <filter-ref name="server-header" />
            <filter-ref name="x-powered-by-header" />
            <http-invoker security-realm="ApplicationRealm" />
        </host>
    </server>
</subsystem>

이 인스턴스에서 Cryostat는 http 및 https socket-binding에서 지정하는 인터페이스 / 포트에서 수신 대기하도록 구성됩니다. 기본적으로 HTTPS의 경우 http 및 8443의 포트 8080입니다.

여기에는 다음과 같은 영향이 있습니다.

  • Camel-undertow 소비자는 localhost:8080 또는 localhost:8443에만 바인딩됩니다.
  • 일부 엔드포인트 소비자 구성 옵션에는 효과가 없습니다(아래 참조)는 WildFly 컨테이너에서 이러한 설정을 관리하므로

예를 들어 다른 호스트 또는 포트 조합을 사용하여 엔드포인트 소비자를 구성하면 서버 로그 파일에 경고가 표시됩니다. 예를 들어 다음 호스트 및 포트 구성은 무시됩니다.

from("undertow:http://somehost:1234/path/to/resource")
[org.wildfly.extension.camel] (pool-2-thread-1) Ignoring configured host: http://somehost:1234/path/to/resource

그러나 기본 호스트 및 포트 localhost:8080 또는 localhost:8443에서 소비자를 계속 사용할 수 있습니다.

358.10.1. 대체 포트 구성

대체 포트를 수락하는 경우 WildFly 하위 시스템 구성을 통해 구성해야 합니다. 이 내용은 서버 설명서에 설명되어 있습니다.

https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.1/html/configuration_guide/configuring_the_web_server_undertow

358.10.2. WildFly에서 무시된 camel-undertow 소비자 구성 옵션

hostOptions

서버 호스트 옵션을 구성하는 방법은 WildFly undertow 구성 가이드를 참조하십시오.

https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.1/html-single/how_to_configure_server_security/#configure_one_way_and_two_way_ssl_tls_for_application

sslContextParameters

SSL을 구성하려면 WildFly SSL 구성 가이드를 참조하십시오.

https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.1/html-single/how_to_configure_server_security/#configure_one_way_and_two_way_ssl_tls_for_application

Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

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

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

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

Red Hat 소개

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

Theme

© 2026 Red Hat
맨 위로 이동