第223章 OPC UA サーバーコンポーネント
Camel バージョン 2.19 以降で利用可能
Milo サーバー コンポーネントは、Eclipse Milo™ 実装を使用して OPC UA サーバーを提供します。
Java 8 : このコンポーネントには、実行時に Java 8 が必要です。
			Maven ユーザーは、このコンポーネントの pom.xml に以下の依存関係を追加する必要があります。
		
Camel からエンドポイントに送信されたメッセージは、OPC UA サーバーから OPC UA クライアントで利用できます。OPC UA クライアントからの値の書き込み要求は、Apache Camel に送信されるメッセージをトリガーします。
OPC UA サーバーコンポーネントは、以下に示す 20 個のオプションをサポートします。
| 名前 | 説明 | デフォルト | タイプ | 
|---|---|---|---|
| namespaceUri (common) | 名前空間の URI。デフォルトは urn:org:apache:camel です。 | String | |
| applicationName (common) | アプリケーション名 | String | |
| applicationUri (common) | アプリケーション URI | String | |
| productUri (common) | 製品の URI | String | |
| bindPort (common) | サーバーがバインドする TCP ポート | int | |
| strictEndpointUrls Enabled (common) | 厳密なエンドポイント URL を適用するかどうかを設定します | false | boolean | 
| serverName (common) | サーバー名 | String | |
| hostname (common) | サーバーのホスト名 | String | |
| securityPolicies (common) | セキュリティーポリシー | Set | |
| securityPoliciesById (common) | URI または名前によるセキュリティーポリシー | コレクション | |
| userAuthentication Credentials (common) | ユーザーパスワードの組み合わせを user1:pwd1,user2:pwd2 の形式で設定しますユーザー名とパスワードは URL デコードされます | String | |
| enableAnonymous Authentication (common) | 匿名認証を有効にします。デフォルトでは無効になっています | false | boolean | 
| usernameSecurityPolicy Uri (common) | UserTokenPolicy を設定します。 | SecurityPolicy | |
| bindAddresses (common) | サーバーがバインドするローカルアドレスのアドレスを設定します。 | String | |
| buildInfo (common) | サーバーのビルド情報 | BuildInfo | |
| serverCertificate (common) | サーバー証明書 | 結果 | |
| certificateManager (common) | サーバー証明書マネージャー | CertificateManager | |
| certificateValidator (common) | クライアント証明書のバリデーター | サプライヤー | |
| defaultCertificate Validator (common) | デフォルトのファイルベースのアプローチを使用したクライアント証明書のバリデーター | File | |
| resolveProperty Placeholders (advanced) | 起動時にコンポーネントがプロパティープレースホルダーを解決するかどうか。String タイプのプロパティーのみがプロパティープレースホルダーを使用できます。 | true | boolean | 
223.1. URI 形式
milo-server:itemId[?options]
milo-server:itemId[?options]