搜索

第 223 章 OPC UA 服务器组件

download PDF

从 Camel 版本 2.19 开始提供

Milo Server 组件使用 Eclipse Milo™ 实施提供 OPC UA 服务器。

Java 8 :此组件在运行时需要 Java 8。

Maven 用户需要将以下依赖项添加到这个组件的 pom.xml 中:

<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-milo</artifactId>
    <version>x.x.x</version>
    <!-- use the same version as your Camel core version -->
</dependency>

从 Camel 发送到端点的消息将从 OPC UA 服务器到 OPC UA 客户端提供。OPC UA 客户端写入请求将触发发送到 Apache Camel 的消息。

OPC UA 服务器组件支持 20 个选项,如下所列。

Name描述默认值类型

namespaceUri (common)

命名空间的 URI,默认为 urn:org:apache:camel

 

字符串

applicationName (common)

应用程序名称

 

字符串

applicationUri (common)

应用程序 URI

 

字符串

productUri (common)

产品 URI

 

字符串

bindPort (common)

服务器绑定到的 TCP 端口

 

int

strictEndpointUrls Enabled (common)

设置是否强制实施严格的端点 URL

false

布尔值

ServerName ( common)

服务器名称

 

字符串

hostname (common)

服务器主机名

 

字符串

securityPolicies (common)

安全策略

 

Set

securityPoliciesById (common)

根据 URI 或名称进行安全策略

 

集合

UserAuthentication Credentials (common)

以 user1:pwd1,user2:pwd2 Usernames 和 password 形式设置用户密码组合将被解码

 

字符串

enableAnonymous Authentication (common)

启用匿名身份验证,默认禁用

false

布尔值

usernameSecurityPolicy Uri (common)

设置在以下情况下使用的 UserTokenPolicy

 

SecurityPolicy

bindAddresses (common)

设置服务器应绑定到的本地地址的地址

 

字符串

buildInfo (common)

服务器构建信息

 

BuildInfo

ServerCertificate (common)

服务器证书

 

结果

certificateManager (common)

服务器证书管理器

 

CertificateManager

certificateValidator (common)

客户端证书的验证器

 

供应商

defaultCertificate Validator (common)

使用基于文件的默认方法的客户端证书验证器

 

File

resolveProperty Placeholders (advanced)

组件是否应在启动时解析属性占位符。只有 String 类型的属性可以使用属性占位符。

true

布尔值

223.1. URI 格式

milo-server:itemId[?options]
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.