ITeye博客

activemq5.8.0 客户端,服务端启动序列图

dingjun1 · 2013-06-20 18:26 · activemq · 开源软件 · Markdown

服务端序列图

客户端序列图

客户端与服务端交互

transport:责任链模式,

ResponseCorrelator:oneway设置消息的编号,onCommand:对阻塞的futureResponse设置值,解除等待结果的线程阻塞。

MutexTransport:通过锁进行线程同步

WireFormatNegotiator:通过闭锁协调wireFormat与服务端的交互

InactivityMonitor:启动readcheck writecheck定时任务,维护心跳

TcpTransport tcp协议的业务处理,写入流,输出流

ActiveMQConnection: 负责处理客户端接受到的command

TransportConnection 负责处理服务端接受到的command

评论(1)

  1. #1 楼 · strong8808 · 2013-12-06 12:47

    :idea: :arrow:

评论功能维护中,当前仅展示历史评论。