Dashboard > 江南白衣博物馆 > ... > Java Enterprise > JMS
  江南白衣博物馆 Log In | Sign Up   View a printable version of the current page.  
  JMS
Added by Calvin, last edited by Calvin on 2008-12-19  (view change)
Labels: 
(None)

1.Active MQ

2.Spring's JMS

3.JMS集群

    JMS集群的关键是持久化消息的共享,无非是通过几种方式:

  • 共享形式:JDBC数据库 或 SAN+支持网络并发访问锁机制的文件系统(如GFPS)
  • 热备形式:同一时间只有一台服务器Mount到NFS或SAN,通过集群系统调用script自动切换。
  • Share Nothing形式:Master将消息发送到Slave节点同步执行相同的操作。

       对比各种服务器:

  • ActiveMQ支持三种模式。
  • Weblogic支持共享和热备形式。
  • Sun的OpenMQ只支持共享形式中的JDBC数据库。
           其中ActiveMQ的Master通过谁拿着互斥锁来决定,Slave不接受任何JMS连接,Share Nothing模式需要手工重启失效的Master服务器--关掉slave,将slave的文件手工复制到master,重启master/slave。

4.跨平台跨语言的消息引擎方案

ActiveMQ Notes (江南白衣博物馆)

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.9 Build:#527 2006-09-07) - Bug/feature request - Contact Administrators
Get SpringSide at SourceForge.net. Fast, secure and Free Open Source software downloads