博客已搬家,更好阅读体验,猛戳 http://www.jack-yin.com/english/translation/activemq-in-action/1558.html
7.3 Implementing request/reply with JMS
7.3 使用JMS实现请求/应答程序
As described in earlier chapters, messaging is all about the decoupling of senders from
receivers. Messages are sent by one process to a broker, and messages are received from
a broker by a different process in an asynchronous manner. One style of system architecture
that can be implemented using JMS is known as request/reply. From a high level,
a request/reply scenario involves an application that sends a message (the request)
and expects to receive a message in return (the reply). Traditionally, such a system
design was implemented using a client-server architecture, with the server and the client
communicating in a synchronous manner across a network transport (TCP, UDP,
and so on). This style of architecture certainly has scalability limitations, and it’s difficult
to distribute it further. That’s where messaging enters the picture—to provide the
ability to design a system that can easily scale much further via a messaging-based
request/reply design. Some of the most scalable systems in the world are implemented
using asynchronous processing like that being demonstrated in this example.
通过前面几章我们了解到,消息是用来为其发送者和接收者解耦的.消息通过一个进程发送给代理,然后
代理在另外一个进程异步的接收消息.一种可以利用JMS来实现的系统架构被称为请求/应答.概括的说,
一个请求/应答场景包括一个发送消息(请求)并期望接收消息返回值(应答)的应用程序.通常,这样的系统
被设计成CS架构,服务端和客户端通过网络传输协议(TCP,UDP等等)同步的进行通信.这种架构方式在可
扩展方面具有明显的限制,很难获得长远发展.消息系统正是为此而生--通过基于消息的请求/应答设计
模式能够设计出易于扩展的系统.正如例子中展示的那样,世界上可扩展性最好的系统都是使通过
异步处理方式实现的.
..........
相关推荐
因而,对于大型企业来说,拥有一套实用、小巧、易于使用且节省资源的PDF解决方案,是必不可少的。作为专业PDF解决方案的提供商,福昕PDF套件企业版正是这类企业的最佳选择。Foxit PhantomPDF Business软件是一款为...
插件名称:社区论坛任务 更新日志:2009/5/7 插件描述:领取任务专门可以刺激会员奖励
FlyTreeViewPro 是一套快速的树/表格/列表实用VCL组件,功能强大灵活。
亲测可用,Mac系统下新版本的iNode客户端
DBFlyTreeViewPro是一款数据感知的FlyTreeViewPro组件,DBFlyTreeViewPro让打印更加容易,使用DrawCell方法可画出任何阵列的表格直接打印,支持位元或者位图画布。
centos7.3/联想打印机/兄弟打印机/驱动安装/底层驱动安装 联想很多型号打印机没有Linux驱动,如果不知道那款驱动通用,可在日本兄弟官网上找:看哪一款和联想外形一样或者非常接近的,这款打印机的Linux驱动基本都会...
破解补丁使用说明: 安装官方版后不要点击试用或者激活,关闭窗口,不要运行软件。下载补丁,解压缩后将文件复制到安装程序主程序目录下即可破解成功!(亲测支持所有系统32及64位) 附官方下载地址: 完整版,貌似...
centos7.3配置zabbix3.2/3.4包括server、agent、proxy的配置
oracle官网已不开放下载,亲测可用,jdk1.7 linux centos,提供多版本
MagickWand For PHP。支持PHP版本5.5.x / 5.6.x / 7.0.x / 7.1.x / 7.2.x / 7.3.x Thread Safe, x86 / x64 添加 extension=php_magickwand.dll。采用 ImageMagick 版本:6.9.10-59 Q32。暂不支持 PHP 7.4
使用方法: 1、使用压缩包的myBase.exe替换mybase根目录的myBase.exe 2、官网下载mybase7.3地址 http://39.137.67.79/www.wjjsoft.com/downloads/myBase-Desktop-Ver730-Setup.zip
"6.4/7.5 " " "JACCQ/QP-09 "产品实现策划程序 "7.1/7.3 " " "JACCQ/QP-10 "生产件批准控制程序 "7.2/7.4/7.5 " " "JACCQ/QP-11 "合同评审管理程序 "7.2 " " "JACCQ/QP-12 "特殊特性控制程序 "7.3 " " "JACCQ/QP-13 ...
的变化是增加了三章内容:通用接口和类、监控程序、属性,当然还有一些其它内容更改。这个译本就是 在译者上一个译本基础上根据新版本增改的内容译出的。 译者水平及精力所限,谬误一定是有的,欢迎各位读者指正。 ...
Wincc V7.3 VBS脚本实现组合框、单选.txt
COP-7.3-05软件开发设计控制程序参考.pdf
DevComponents.DotNetBar2.dll,最新,for VS2005/VS2008,7.3.0.1 去掉SN,覆盖即可。
南方专业起名程序7.3最新版,公司取名和个人取名、可以三才数解释、81数解释、人格外格达配\笔画查字、字典字义、姓名分析等。
myBase Desktop 7.3 破解补丁 亲测可用 使用方法: 1、从官网下载mybase7.3,地址 http://39.137.67.79/www.wjjsoft.com/downloads/myBase-Desktop-Ver730-Setup.zip 2、使用压缩包的myBase.exe替换mybase根目录的...
DevComponents.DotNetBar2.dll,最新,for VS2005/VS2008,7.3.0.6 去掉SN,覆盖即可。