此内容没有您所选择的语言版本。

17.4. List of Mediation States


Domain handlers
In this state all the handlers defined in switchyard.xml are executed. This is an early phase of mediation where you can either implement own logic or choose the service provider logic to use.
Addressing
If this is not specified by the domain handlers then the addressing handler will determine what to do by using the consumer contract.
Transaction
If the service is required to run a transaction this handler starts it.
Security
This state verifies constraints related to authentication and authorization.
General policy
This executes checks other than those for security and transactions.
Validation
This executes custom validators.
Transformation
This prepares the payload by calling a provider.
Validation (2)
This validates the transformed payload.
Provider call
This calls the provisional service.
Transaction (2)
This commits or, if necessary, rolls back the transaction.
If the service consumer is synchronous and the exchange pattern is set to in-out, then some of these handlers may be called once again:
Domain handlers
These are called when a response is generated by a provider service.
Validation
This verifies the output generated by the provider.
Transformation
This converts the payload to the structure required by the consumer.
Validation
This checks the output after the transformation has occurred.
Consumer callback
This returns the exchange to the service consumer.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

Theme

© 2025 Red Hat