G.5. federationConfigurations


federationConfigurations.<name>.transformerConfigurations

type: FederationTransformerConfiguration
Default:
XML name: transformer
Description: Optional transformer configuration.

federationConfigurations.<name>.transformerConfigurations.<name>.transformerConfiguration

Type: TransformerConfiguration
Default:
XML name: transformer
Description: 允许添加自定义转换器以修改消息。

federationConfigurations.<name>.transformerConfigurations.<name>.transformerConfiguration.<name>.className

Description:


federationConfigurations.<name>.transformerConfigurations.<name>.transformerConfiguration.<name>.properties

type: Map
Default:
XML name: property
Description: A KEY/VALUE 对在转换器上设置,例如 …​properties.MY_PROPERTY=MY_VALUE。

federationConfigurations.<name>.queuePolicies

type: FederationQueuePolicyConfiguration
Default:
XML name: queue-policy
Description:

federationConfigurations.<name>.queuePolicies.<name>.priorityAdjustment

Type: Integer
Default:
XML name: priority-adjustment
Description: 当消费者附加时,其优先级用于创建上游消费者,但使用一个调整功能以便本地消费者在远程消费者之前平衡负载。

federationConfigurations.<name>.queuePolicies.<name>.excludes

Type: Matcher
Default:
XML name: exclude
Description: a a queue match to exclude.

federationConfigurations.<name>.queuePolicies.<name>.excludes.<name>.queueMatch

Description:


如果没有,则匹配所有队列。

federationConfigurations.<name>.queuePolicies.<name>.transformerRef

Description:


federationConfigurations.<name>.queuePolicies.<name>.includes

Type: Matcher
Default:
XML name: queue-match
Description:

federationConfigurations.<name>.queuePolicies.<name>.excludes.<name>.queueMatch

Description:


如果没有,则匹配所有队列。

federationConfigurations.<name>.queuePolicies.<name>.includeFederated

type: boolean
Default:
XML name: include-federated
Description: 当值设为 false 时,配置不会重新联邦消费者,即联邦队列上的消费者。这可避免一个情况,在对称或关闭循环拓扑中,没有非联邦消费者和消息流。

federationConfigurations.<name>.upstreamConfigurations

Type: FederationUpstreamConfiguration
Default:
XML name: upstream
Description:

federationConfigurations.<name>.upstreamConfigurations.<name>.connectionConfiguration

type: FederationConnectionConfiguration
Default:
XML name: connection-configuration
Description: 流连接配置。

federationConfigurations.<name>.upstreamConfigurations.<name>.connectionConfiguration.priorityAdjustment

type: int
Default:
XML name: priority-adjustment
Description:

federationConfigurations.<name>.upstreamConfigurations.<name>.connectionConfiguration.retryIntervalMultiplier

type: double
Default: 1
XML name: retry-interval-multiplier
Description: 要应用到 retry-interval 的倍数。

federationConfigurations.<name>.upstreamConfigurations.<name>.connectionConfiguration.shareConnection

type: boolean
Default: false
XML name: share-connection
Description: 如果设置为 true,如果同一代理配置了下游和上游连接,则同一连接将共享相同的连接。

federationConfigurations.<name>.upstreamConfigurations.<name>.connectionConfiguration.maxRetryInterval

type: long
Default: 2000
XML name: max-retry-interval
Description: retry-interval 的最大值。

federationConfigurations.<name>.upstreamConfigurations.<name>.connectionConfiguration.connectionTTL

Type: long
Default:
XML name: connection-t-t-l
Description:

federationConfigurations.<name>.upstreamConfigurations.<name>.connectionConfiguration.circuitBreakerTimeout

type: long
Default: 30000
XML name:breaker-breaker-timeout
Description: 指定此连接是否支持故障切换。

federationConfigurations.<name>.upstreamConfigurations.<name>.connectionConfiguration.callTimeout

type: long
Default: 30000
XML name: call-timeout
Description: 等待回复的持续时间。

federationConfigurations.<name>.upstreamConfigurations.<name>.connectionConfiguration.staticConnectors

type:
Default:
XML name: static-connectors
Description: 通过连接器配置的连接器引用列表。

federationConfigurations.<name>.upstreamConfigurations.<name>.connectionConfiguration.reconnectAttempts

Type: int
Default: -1
XML name: reconnect-attempts
Description: The number of reconnection attempts after a failure.

federationConfigurations.<name>.upstreamConfigurations.<name>.connectionConfiguration.password

类型 :字符串
默认:
XML 名称:password
Description: a password.如果没有指定,则使用联邦密码。

federationConfigurations.<name>.upstreamConfigurations.<name>.connectionConfiguration.callFailoverTimeout

Type: long
Default: -1
XML name: call-failover-timeout
Description: The duration to wait for a reply during a fail-over.值 -1 表示没有限制。

federationConfigurations.<name>.upstreamConfigurations.<name>.connectionConfiguration.hA

Type: boolean
Default:
XML name: h-a
Description:

federationConfigurations.<name>.upstreamConfigurations.<name>.connectionConfiguration.initialConnectAttempts

Type: int
Default: -1
XML name: initial-connect-attempts
Description: The number of initial attempts to connect.

federationConfigurations.<name>.upstreamConfigurations.<name>.connectionConfiguration.retryInterval

type: long
Default: 500
XML name: retry-interval
Description: interval, in milliseconds, between successive retries。

federationConfigurations.<name>.upstreamConfigurations.<name>.connectionConfiguration.clientFailureCheckPeriod

Type: long
Default:
XML name: client-failure-check-period
Description:

federationConfigurations.<name>.upstreamConfigurations.<name>.connectionConfiguration.username

类型 :字符串
默认:
XML 名称:username
Description:

federationConfigurations.<name>.upstreamConfigurations.<name>.policyRefs

Type: Collection
Default:
XML name: policy-refs
Description:

federationConfigurations.<name>.upstreamConfigurations.<name>.staticConnectors

type:
Default:
XML name: static-connectors
Description: 通过连接器配置的连接器引用列表。

federationConfigurations.<name>.downstreamConfigurations

Type: FederationDownstreamConfiguration
Default:
XML name: downstream
Description:

federationConfigurations.<name>.downstreamConfigurations.<name>.connectionConfiguration

type: FederationConnectionConfiguration
Default:
XML name: connection-configuration
Description: 流连接配置。

federationConfigurations.<name>.downstreamConfigurations.<name>.connectionConfiguration.priorityAdjustment

type: int
Default:
XML name: priority-adjustment
Description:

federationConfigurations.<name>.downstreamConfigurations.<name>.connectionConfiguration.retryIntervalMultiplier

type: double
Default: 1
XML name: retry-interval-multiplier
Description: 要应用到 retry-interval 的倍数。

federationConfigurations.<name>.downstreamConfigurations.<name>.connectionConfiguration.shareConnection

type: boolean
Default: false
XML name: share-connection
Description: 如果设置为 true,如果同一代理配置了下游和上游连接,则同一连接将共享相同的连接。

federationConfigurations.<name>.downstreamConfigurations.<name>.connectionConfiguration.maxRetryInterval

type: long
Default: 2000
XML name: max-retry-interval
Description: retry-interval 的最大值。

federationConfigurations.<name>.downstreamConfigurations.<name>.connectionConfiguration.connectionTTL

Type: long
Default:
XML name: connection-t-t-l
Description:

federationConfigurations.<name>.downstreamConfigurations.<name>.connectionConfiguration.circuitBreakerTimeout

type: long
Default: 30000
XML name:breaker-breaker-timeout
Description: 指定此连接是否支持故障切换。

federationConfigurations.<name>.downstreamConfigurations.<name>.connectionConfiguration.callTimeout

type: long
Default: 30000
XML name: call-timeout
Description: 等待回复的持续时间。

federationConfigurations.<name>.downstreamConfigurations.<name>.connectionConfiguration.staticConnectors

type:
Default:
XML name: static-connectors
Description: 通过连接器配置的连接器引用列表。

federationConfigurations.<name>.downstreamConfigurations.<name>.connectionConfiguration.reconnectAttempts

Type: int
Default: -1
XML name: reconnect-attempts
Description: The number of reconnection attempts after a failure.

federationConfigurations.<name>.downstreamConfigurations.<name>.connectionConfiguration.password

类型 :字符串
默认:
XML 名称:password
Description: a password.如果没有指定,则使用联邦密码。

federationConfigurations.<name>.downstreamConfigurations.<name>.connectionConfiguration.callFailoverTimeout

Type: long
Default: -1
XML name: call-failover-timeout
Description: The duration to wait for a reply during a fail-over.值 -1 表示没有限制。

federationConfigurations.<name>.downstreamConfigurations.<name>.connectionConfiguration.hA

Type: boolean
Default:
XML name: h-a
Description:

federationConfigurations.<name>.downstreamConfigurations.<name>.connectionConfiguration.initialConnectAttempts

Type: int
Default: -1
XML name: initial-connect-attempts
Description: The number of initial attempts to connect.

federationConfigurations.<name>.downstreamConfigurations.<name>.connectionConfiguration.retryInterval

type: long
Default: 500
XML name: retry-interval
Description: period (毫秒)在连续重试之间。

federationConfigurations.<name>.downstreamConfigurations.<name>.connectionConfiguration.clientFailureCheckPeriod

Type: long
Default:
XML name: client-failure-check-period
Description:

federationConfigurations.<name>.downstreamConfigurations.<name>.connectionConfiguration.username

类型 :字符串
默认:
XML 名称:username
Description:

federationConfigurations.<name>.downstreamConfigurations.<name>.policyRefs

Type: Collection
Default:
XML name: policy-refs
Description:

federationConfigurations.<name>.downstreamConfigurations.<name>.staticConnectors

type:
Default:
XML name: static-connectors
Description: 通过连接器配置的连接器引用列表。

federationConfigurations.<name>.federationPolicys

type: FederationPolicy
Default:
XML name: policy-set
Description:

federationConfigurations.<name>.addressPolicies

type: FederationAddressPolicyConfiguration
Default:
XML name: address-policy
Description:

federationConfigurations.<name>.addressPolicies.<name>.autoDeleteMessageCount

Type: Long
Default:
XML name: auto-delete-message-count
Description: 在队列有资格自动删除队列前,可以在动态创建的远程队列中的最大消息数。

federationConfigurations.<name>.addressPolicies.<name>.enableDivertBindings

type: boolean
Default:
XML name: enable-divert-bindings
Description: 设置为 true 可让 disrt 绑定按需侦听。如果存在与地址策略包含的地址匹配的地址绑定,则任何与 divert 转发地址匹配的队列绑定都会满足需求。默认值为 false

federationConfigurations.<name>.addressPolicies.<name>.includes.{NAME}.addressMatch

Type: Matcher
Default:
XML name: include
Description:

federationConfigurations.<name>.addressPolicies.<name>.maxHops

type: int
Default:
XML name: max-hops
Description: 消息可以进行联邦的跃点数。

federationConfigurations.<name>.addressPolicies.<name>.transformerRef

Description:


federationConfigurations.<name>.addressPolicies.<name>.autoDeleteDelay

Type: Long
Default:
XML name: auto-delete-delay
Description: 这个持续时间(以毫秒为单位),在下游代理断开连接后再自动删除上游队列。

federationConfigurations.<name>.addressPolicies.<name>.autoDelete

type: boolean
Default:
XML name: auto-delete
Description: 对于地址联邦,下游会在上游地址上动态创建一个持久队列。指定在下游断开连接以及满足延迟和消息数参数后上游队列是否被删除。

federationConfigurations.<name>.addressPolicies.<name>.excludes.{NAME}.addressMatch

Type: Matcher
Default:
XML name: include
Description:

Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

© 2024 Red Hat, Inc.