摘要
消息队列中间件是采用基于消息传递机制和排队技术的进程间异步通讯机制,很好地解决了异构带来的一些通讯问题。目前消息中间件始终没有一个统一的标准,JMS是Sun公司提出的旨在统一各种MOM系统接口的规范,它包含点对点和发布/订阅两种消息模型,并提供可靠的消息传输、事务和消息过滤等机制。详细介绍了消息队列中间件的概念及用到的相关技术,并对JMS技术进行了深入的分析,在此基础上指出了设计基于JMS的消息队列中间件的重要意义。最后通过一个电子商务网中的实例,实现了JMS的应用。
Message queue middleware is the mechanism of asynchronous communication basede on message pass mechanism and queuing techonlogy. It solves some communication problems brought by heterogeneous system very well. But at present MOM still not has a uniform standard. JMS is the criterion advanced by Sun to unify various MOM API. It includes two types of messaging models:point - to-point and publish- and- subscribe queuing and provides mechanisms such as reliable message transmission, transaction and message filtration. Introduces the concept and correlative technology of the message queue middleware in detail, and analyses the Java message service in depth,and points out the important significance of designing the MQM based on JMS. At last, implements the application of JMS by analysing a case of electronic business.
出处
《计算机技术与发展》
2008年第5期172-175,共4页
Computer Technology and Development
基金
山东省自然科学基金资助项目(2006CC230100)