368.3. Spring Boot Auto-Configuration
コンポーネントは、以下に記載される 15 のオプションをサポートします。
名前 | 説明 | デフォルト | タイプ |
---|---|---|---|
camel.component.websocket.enable-jmx | このオプションが true の場合、Jetty JMX サポートがこのエンドポイントに対して有効になります。詳細については、Jetty JMX サポートを参照してください。 | false | Boolean |
camel.component.websocket.enabled | WebSocket コンポーネントを有効にする | true | Boolean |
camel.component.websocket.host | ホスト名。デフォルト値は 0.0.0.0 です。 | 0.0.0.0 | String |
camel.component.websocket.max-threads | サーバースレッドプールのスレッドの最大数の値を設定します。MaxThreads/minThreads or threadPool fields are required due to switch to Jetty9.maxThreads のデフォルト値は 1 2 noCores です。 | Integer | |
camel.component.websocket.min-threads | サーバースレッドプール内のスレッドの最小数の値を設定します。MaxThreads/minThreads or threadPool fields are required due to switch to Jetty9.minThreads のデフォルト値は 1 です。 | Integer | |
camel.component.websocket.port | ポート番号。デフォルト値は 9292 です。 | 9292 | Integer |
camel.component.websocket.resolve-property-placeholders | 起動時にコンポーネントがプロパティープレースホルダーを解決するかどうか。String タイプのプロパティーのみがプロパティープレースホルダーを使用できます。 | true | Boolean |
camel.component.websocket.socket-factory | サブプロトコル用のカスタム WebSocketFactory を含むマップを設定するには。マップのキーはサブプロトコルです。デフォルトのキーは、デフォルトの実装用に予約されています。 | Map | |
camel.component.websocket.ssl-context-parameters | SSLContextParameters を使用してセキュリティーを設定する場合。このオプションは org.apache.camel.util.jsse.SSLContextParameters タイプです。 | String | |
camel.component.websocket.ssl-key-password | SSL を使用する場合のキーストアのパスワード。 | String | |
camel.component.websocket.ssl-keystore | キーストアへのパス。 | String | |
camel.component.websocket.ssl-password | SSL 使用時のパスワード。 | String | |
camel.component.websocket.static-resources | 静的リソース (.html ファイルなど) のリソースパスを設定します。classpath: を接頭辞として付けた場合、リソースはクラスパスからロードできます。それ以外の場合、リソースはファイルシステムまたは JAR ファイルからロードされます。たとえば、ルートクラスパスからロードするには、classpath:. または classpath:WEB-INF/static を使用します。設定されていない場合 (null など)、静的リソースは使用されていません。 | String | |
camel.component.websocket.thread-pool | サーバーのカスタムスレッドプールを使用する場合。MaxThreads/minThreads or threadPool fields are required due to switch to Jetty9.オプションは org.eclipse.jetty.util.thread.ThreadPool 型です。 | String | |
camel.component.websocket.use-global-ssl-context-parameters | グローバル SSL コンテキストパラメーターの使用を有効にします。 | false | Boolean |