接口如下:

image

ConnectionFactory:an administered object used by a client to create a Connection   它是一个被管理对象;客户端用它创建连接

Connection: an active connection to a JMS provider   到JMS提供商的有效连接

Destination(目的,目标):an administered object that encapsulates the identity of a message destination   它是一个被管理对象;它封装了消息目的地标识

Session :a single-threaded context for sending and receiving messages  用于发送和接收消息的单线程上下文

MessageProducer :an object created by a Session that is used for sending messages to a destination    由Session创建用于往目的地发送消息的对象

MessageConsumer:an object created by a Session that is used for receiving messages sent to a destination   由Session创建用于接收发送到目的地的消息的对象

 

他们的相关关系

image

posted on 2013-08-01 09:49  基层程序员  阅读(195)  评论(0编辑  收藏  举报