Dynamic Routing
用于 Apache 和 IHS 的 WebSphere 插件的 Intelligent Management 功能部件为该插件提供随需应变路由器功能。此功能部件允许服务器运行 REST 服务,插件可连接至此服务以动态路由至 Liberty 集合体中的所有服务器。
启用此功能部件
要启用动态路由选择功能部件,请在 server.xml 文件的 featureManager 元素内添加以下元素声明:
<feature>dynamicRouting-1.0</feature>
开发依赖于此功能部件的功能部件
如果您要开发依赖于动态路由选择功能部件的功能部件,请在新功能部件的功能部件清单文件的 Subsystem-Content 头中添加以下项:
com.ibm.websphere.dynamicRouting-1.0; type="osgi.subsystem.feature"
此功能部件启用的功能部件
此功能部件提供的 IBM API 包
功能部件配置元素
可在 server.xml 文件中使用以下元素以配置动态路由选择功能部件:
- administrator-role
- authCache
- authentication
- authorization-roles
- basicRegistry
- channelfw
- classloading
- dynamicRouting
- httpAccessLogging
- httpDispatcher
- httpEncoding
- httpEndpoint
- httpOptions
- httpProxyRedirect
- jaasLoginContextEntry
- jaasLoginModule
- library
- ltpa
- mimeTypes
- quickStartSecurity
- tcpOptions
- trustAssociation
- virtualHost