Oracle Service Bus Proxy Service Message Handling Page

The Create/Edit a Proxy Service - Message Handling page is one in a series of pages for creating and editing proxy services, as described in Section 19.1, "Creating and Configuring Proxy Services" and Section 19.5, "Editing Proxy Service Configurations."

Use this page to specify whether the proxy service should stream message content, how the service is to decode request messages received and encode response messages sent, and whether the proxy service should stream MIME attachments instead of buffering the attachment contents in memory.

Using this page, you can enable the proxy service to stream message content rather than storing it in memory. You can also enable the proxy service to decode and parse inbound messages in MTOM/XOP format and to send responses using the MTOM/XOP format, when appropriate. SOAP Message Transmission Optimization Mechanism (MTOM) is a method of sending binary data to and from Web services. MTOM uses XML-binary Optimized Packaging (XOP) to transfer the binary data.

Using this page, you can also enable the proxy service to store MIME attachment content to a disk file and then process the data in a streaming fashion without buffering the attachment contents in memory. This enables the proxy service to process large attachments robustly and efficiently.

Table 19-17 describes how to use the Create/Edit a Proxy Service - Message Handling page.

Table 19-17 Create/Edit a Proxy Service - Message Handling Page

OptionTo create or edit...

Transaction Required

Select this option to ensure Oracle Service Bus executes the proxy service message flow in the context of a transaction. If a global transaction already exists, the transport provider propagates it in the request (even if you do not select this option). If no global transaction exists, the message flow run time starts a transaction. If the message flow run time starts a transaction, the transaction context begins before the service configuration is validated or run (for example, security checking or WS-I validation), and before message flow execution, ensuring that all processing and execution occurs in the transaction context.

If the message flow run time starts a transaction, quality of service is exactly-once. However, if Service Callouts or Publish actions have the outbound quality of service parameter set to best-effort (the default), Oracle Service Bus executes those actions outside of the transaction context. To have Oracle Service Bus execute those actions in the same request transaction context, set quality of service on those actions to exactly-once.

The service maintains its messaging pattern (synchronous, asynchronous, one-way) regardless of the setting on this option.

For transaction timeouts, the global transaction timeout value configured in the Oracle WebLogic Server Console applies.

Exceptions in Transactions

Oracle Service Bus invokes the system error handler for failed transactions. You cannot catch failed transaction exceptions in a user-configured error handler. For synchronous patterns, a transaction exception is returned through the response. For asynchronous patterns, where the transaction is designed to be committed in the request, the exception is sent back on the request thread.

Note that in asynchronous patterns, an error in the response that occurs after transaction committal in the request does not affect the transaction.

Same Transaction for Response

If you select this option, Oracle Service Bus propagates the transaction context from the request thread to the response thread.

If you select this option, the message pattern becomes synchronous automatically, regardless of the initial message pattern setting (such as asynchronous or one-way).

You would not use this option, for example, if the business service in the request required a transaction committal before sending the response, such as in a one-way pattern.

For transaction timeouts, the global transaction timeout value configured in the Oracle WebLogic Server Console applies.

Content Streaming

Select this option to stream message content rather than store it in memory.

Select the Enabled check box and choose the following:

  • Whether to buffer the intermediate content in memory (Memory Buffer) or to a disk file (Disk Buffer)

  • Whether to enable Compression

For more information, see "Streaming body Content" in the Oracle Fusion Middleware Administrator's Guide for Oracle Service Bus.

XOP/MTOM Support

Oracle Service Bus supports XOP/MTOM using the following transports:

  • HTTP/S

  • Local

  • SB

Select the Enabled check box to enable the proxy service to decode and parse inbound messages in MTOM/XOP format and to send responses using the MTOM/XOP format, when appropriate. Note that this option is disabled for imported proxy services that are based on previous release configurations.

If XOP/MTOM Support is enabled, select how to handle binary data in the $header and $body message context variables from among the following options:

  • Include Binary Data by Reference: (Default) In an inbound request message, replace xop:Include elements with ctx:binary-content elements when setting up the $header and $body message context variables.

  • Include Binary Data by Value: In an inbound request message, replace xop:Include elements with Base64-encoded text versions of corresponding binary data when setting up the $header and $body message context variables.

Use Include Binary Data by Reference when you need direct access to binary data, for example to pass data to a Java callout or Message Format Language (MFL) transform.

Use Include Binary Data by Value in the following cases:

  • To bridge between MTOM and non-MTOM services. For example, consider an MTOM-enabled proxy service that receives a request that is then routed to a non-MTOM-enabled service. You could use this option to comply with existing standards for sending binary data in XML in Base64-encoded form.

  • To validate the contents of the message against an XML schema that requires a base64binary element to be used in place of binary data

Note that if XOP/MTOM Support is enabled for a proxy service, it is not required that every inbound message be in the MTOM format. Instead, this setting specifies that when an MTOM-formatted message arrives, the proxy service should handle it accordingly. Note also that when proxy services not enabled for XOP/MTOM Support receive an MTOM-formatted message, the service rejects the message and issues a runtime error.

Attachments

Oracle Service Bus supports streaming MIME attachments using the following transports:

  • HTTP/S

  • Local (when chained through an HTTP proxy with streaming attachments enabled)

Select the Page Attachments to Disk check box to enable the proxy service to stream MIME attachments. When enabled for HTTP proxy services, the option applies to proxy service inbound request messages.

Note that if you select XOP/MTOM Support, the Attachments option is only available if you choose the Include Binary Data by Reference option under XOP/MTOM Support. Note also that payloads that contain attachments must conform to RFC 822. Specifically, lines containing Internet headers need to be terminated with CRLF (carriage return line feed).

 

转载于:https://www.cnblogs.com/mengheyun/archive/2010/11/13/1963165.html

【信息科学与工程学】计算机科学与自动化——第一百五十五篇 缓存系统设计01 基础知识 CPU:拥有 L1/L2/L3 多级缓存,用于暂存即将执行的指令和频繁访问的数据。GPU:包含显存、纹理缓存、常量缓存、指令缓存等,加速图形渲染和通用计算。RAID 卡 / 存储控制器:自带缓存(通常带电池保护),用于合并写操作、加速读写。打印机:内置内存缓存,用于暂存待打印的页面数据,避免反复从电脑传输。光驱 / 蓝光播放器:内部缓存用于平滑读取光盘数据,防止因寻道延迟导致卡顿。操作系统:页缓存(Page Cache):缓存文件系统数据,减少磁盘 I/O。目录缓存(dentry cache):加速路径查找 阅读详情

相关推荐

Oracle Service Bus安装与配置全面指南

OSB提供了一种统一的方式来设计、部署和管理服务集成解决方案。它允许开发者通过抽象的服务接口,连接不同的企业应用和Web服务。OSB的设计理念强调服务的再利用性、服务组合以及消息路由。OSB Console是Oracle Service Bus的管理和配置界面,它提供了一个直观的图形化界面来控制和监视服务总线。在初次使用时,您需要登录。登录过程中通常需要输入正确的用户名和密码,有时还需要提供特定的服务器地址。登录OSB Console后,首先看到的将是主界面。

weixin_33582089的博客 1415

Oracle Service Bus简介

我正在将一些依赖于Apache XMLBeans的模块迁移到JAXB。 这是令人兴奋且充满挑战的几天。 我想记下我遇到的一些重要事情,以供将来可能会发现有用的任何人使用。 首先,让我们来看一下设置用于JAXB代码生成的maven插件。 在撰写本文时,我遇到了两个Maven插件。 http://www.mojohaus.org/jaxb2-maven-plugin/Documenta...

最佳 Java 编程 894

Oracle+Service+Bus安装、配置、操作详解

Oracle+Service+Bus安装、配置、操作详解 Oracle+Service+Bus安装、配置、操作详解

Oracle Service Bus白皮书

Oracle Service Bus简介 面对变幻莫测的市场需求的变化,企业希望通过推进“服务化”提高敏捷性和响应能力:更方便地与客户和合作伙伴交互,更灵活地设计和构建IT基础架构。为此,SOA(Serice-OrientedArchitecture,面向服务的架构)日益引起企业高层的重视。SOA将分散在企业应用中的功能组合为基于标准的互操作“服务”,与使用传统应用相比,企业可利用SOA...

weixin_30244889的博客 439

oracle service bus 12C 使用手册

oracle service bus 12C 使用手册,截图全齐,只要跟着步骤一步一步走,即可成功。

Oracle_Service_Bus安装与配置详解教程

Oracle_Service_Bus安装与配置详解教程 OSB安装配置文档

Oracle Service Bus 11g 的三种方案

Oracle Service Bus 11g 的三种方案   使用《Oracle Service Bus 11g Development Cookbook》中的方案迅速推出一批全新的面向服务和消息的解决方案   (单击图像了解更多信息。) 购买此书 还可获取电子书。 本文介绍从《Oracle Service Bus 11g Development Cookbo...

tooby的专栏 533

ESB(OSB)使用及普通服务配置说明

Oracle Service Bus OSB 是一种企业级服务总线 目的是在异构服务与传统端点之间连接 调解和管理交互 它独创性地将企业服务总线的集成功能与单一产品中的操作服务管理结合起来 带来有效 无缝的用户体验 本文详细介绍了OSB的配置以及常见应用开发">Oracle Service Bus OSB 是一种企业级服务总线 目的是在异构服务与传统端点之间连接 调解和管理交互 它独创性地将企业服务总线的集成功能与单一产品中的操作服务管理结合起来 带来有效 无缝的用户体验 本文详细介绍 [更多]

Oracle Service Bus (OSB) 12c 的配置安装

Oracle Service Bus (OSB) 12c 的配置安装 1、OSB配置环境: Oracle Database Oracle Fusion Middleware Infrastructure Oracle Service Bus Java Development Kit (JDK) 2、安装需要的两个软件: fmw_12.2.1.2.0_infrastructure.ja...

weixin_30553777的博客 1117

Oracle Service Bus安装、配置、操作详解(osb/alsb)

Oracle Service Bus安装、配置、操作详解

OSB开发文档

Oracle Service Bus Developer's Guide (OSB开发指南)

oracle bus,Oracle Service Bus(OSB) Example

http://blog.csdn.net/zhaohuabing/article/details/50499264Oracle Service Bus(OSB) Example本文将使用JDeveloper12C创建一个简单的OSB程序。该程序在OSB中提供了一个天气查询的服务。通过该示例,可以帮助理解OSB中的Proxy Service,Business Service, Pipeline等基本...

weixin_27717759的博客 393

使用 ArxivLoader 从 arXiv 加载学术文献并实现高效文档处理

arXiv是一个开放获取的学术存储平台,涵盖了物理、数学、计算机科学等多个领域的 200 万篇学术论文。这些文献中包含了如逻辑推理、机器学习等热门领域的最新研究进展。通过使用 ArxivLoader,我们可以轻松地搜索和加载 arXiv 上的学术文献,并将其转换为文本以供分析或应用于下游任务,例如问答系统、摘要生成或知识图谱构建。有时我们并不需要完整的文献内容,而是只需要摘要用于快速预览。可以使用 get_summaries_as_docs()# 获取文献摘要# 查看第一篇摘要。

hgSdaegva的博客 891

oracle service bus

学习Service Bus的第一个问题一定是,ALSB或者说OSB能做什么,或者说为什么需要OSB,对于这个问题的疑问在于在所谓的service-enable企业里,既然已经有了所谓的拥有建立Web Service的平台(如Weblogic应用服务器),那我们还缺什么东西呢? OSB里对于这些疑问的第一个回答是:如果一个应用直接面对各个平台和应用服务器上创建的Web Service进行重用,...

windshjw 545

半导体工厂自动化实战:用secs4net实现设备与MES系统通信(附完整代码)

本文详细介绍了如何利用secs4net框架实现半导体工厂设备与MES系统的高效通信。通过解析SECS/GEM协议的核心架构、关键业务场景实现及性能优化实践,帮助开发者快速掌握工业自动化通信技术,提升生产效率和系统稳定性。

transformer2023的博客 904

人工智能机器学习从入门到高级学习资料(含资料下载地址)

机器学习是一个技术含量较高的领域,高效学习需要多种途径相结合.以下是一些推荐的学习资源。首先介绍几个比较有用的社区,包含了丰富的学习资料

2401_86900375的博客 1657

企业级服务总线架构 (Oracle service bus)

为配合公司全业务域多个信息系统建设数据高速公路,我们选用了ORACLE的总线产品,oracle service bus。 作为一个企业级的ESB总线产品,它具备多种协议和连接方式的支持: WebService协议 ----- TCP/IP网络协议被描述封装为SOCKET协议,SOCKET协议被描述封装为HTTP协议, HTTP协议再描述封装为微服务RESTAPI(JSON)、SOAP(XML)。 ...

zhaoyouliang123的博客 434

ThingsBoard入门实战(二):ThingsBoard 设备接入

文章目录ThingsBoard 设备接入一、设备配置/设备类型二、设备三、设备接入HTTPCOAPMQTT四、下一步 ThingsBoard 设备接入 设备接入并不一定需要真正的设备,我们可以通过程序。或者命令来模拟设备,向平台发送信息。 这节我们先为用户分配一个设备,然后通过模拟设备命令更新设备的状态(遥测值)。 一、设备配置/设备类型 添加一个叫"路灯"的设备配置。 设备配置听起来比较抽象,可以认为是设备类型或者是设备类型的配置。实际上,ThingsBoard 中很多时候让选择设备类型,就是选的这个。

AIGC搞起 1万+

ORACLE Service Bus 后台服务器宕机重启

Oracle Service Bus 重启步骤

AlexanderHao的博客 597

语言 拉丁超立方抽样_医学统计与R语言:间断时间序列分析(Interrupted time series regression)...

微信公众号:医学统计与R语言如果你觉得对你有帮助,欢迎转发Interrupted time series (ITS) analysis is a valuable study design for evaluating the effectiveness of population-level health interventions that have been implemented...

weixin_29300805的博客 3710

SimMechanics二连杆仿真避坑指南:Solid模块坐标系设置与Rigid Transform常见错误

本文详细解析了SimMechanics中二连杆平面臂仿真的常见问题,重点探讨Solid模块坐标系设置与Rigid Transform模块的配置陷阱。通过实战案例和MATLAB代码示例,揭示多体系统仿真中的关键错误点,包括坐标系方向定义、参数匹配、端口连接规则等,帮助工程师有效规避仿真风险,提升建模效率。

weixin_29309213的博客 417

Oracle Service Bus

学习Service Bus的第一个问题一定是,ALSB或者说OSB能做什么,或者说为什么需要OSB,对于这个问题的疑问在于在所谓的service-enable企业里,既然已经有了所谓的拥有建立Web Service的平台(如Weblogic应用服务器),那我们还缺什么东西呢? OSB里对于这些疑问的第一个回答是:如果一个应用直接面对各个平台和应用服务器上创建的Web Service进行重

jsjxing1989的专栏 718

第一章 电力电子仿真软件 PLECS简介

PLECS是瑞士Plexim公司开发的电力电子仿真软件,具有快速仿真、丰富元件库和热分析功能。软件提供单机版和嵌入MATLAB的版本,支持多平台安装且流程简单。首次运行需获取授权文件,提供60分钟演示模式。界面包含模型创建、帮助文档和元件库浏览器等功能区域,操作便捷。该软件是专业高效的电力电子系统仿真工具。

527

DeepSeek总结的 PostgreSQL 18 上的十三个小测量

大多数测试使用一张 2,000,000 个订单的表:50,000 个客户,5% 的行状态为 open,created_at 每 10 秒递增,note 中有一个 md5 字符串。在有 10,000 个父行、1,000,000 个子行以及 ON DELETE CASCADE 的情况下,删除 200 个父行(20,000 个子行)在没有 child.parent_id 索引时耗时 3.6 s,有索引时耗时 0.013 s。work_mem 应用于每个查询中的每个排序或哈希,因此一个很大的全局值会成倍放大。

l1t的专栏 204

Simulink开发项1000例实战专栏--实例17:基于 Simulink 的 BLDC 电机驱动系统的设计与实现

项目背景无刷直流电机(BLDC)因其高效、可靠、低维护的特点,广泛应用于电动汽车、无人机、工业自动化等领域。基于 Simulink 的 BLDC 电机驱动系统可以实现对电机的精确控制,包括速度控制、位置控制和转矩控制。通过仿真和测试,可以优化控制算法,提高系统的性能和可靠性。

xiaoheshang_123的博客 568

jre9下载 jdk9

(Java SE Runtime Environment 9.0) 9.0u175 官方最新版 【x86|x64】

上一篇: 【转】在VS2005中创建项目模板来提高开发效率
下一篇: Quaternion 学习与应用(转载)
weixin_30838921
博客等级 码龄11年 90粉丝 0原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值