jms.jar 2.0
Before starting developing JMS programs, first we will discuss about the following two concepts in this posts:
在开始开发JMS程序之前,首先我们将在本文中讨论以下两个概念:
- Steps to develop a JMS Producer 开发JMS生产者的步骤
- Steps to develop a JMS Consumer 开发JMS使用者的步骤
发表简短目录 (Post Brief TOC)
- Introduction 介绍
- JMS API 1.1 Producer JMS API 1.1生产者
- JMS API 1.1 Consumer JMS API 1.1使用者
介绍 (Introduction)
In P2P or Pub/Sub messaging model, we can observe the following actors:
在P2P或发布/订阅消息传递模型中,我们可以观察以下参与者:
- JMS Producer JMS生产者
- JMS Consumer JMS消费者
- JMS Message JMS消息
- JMS Administered Objects JMS管理的对象
- JMS Provider JMS提供者
Based on our application or client needs, we can use any available JMS Provider to implement this Messaging Application. JMS Administrator configures all required Administered Objects in JMS Provider Admin console to use them in our application.
根据我们的应用程序或客户需求,我们可以使用任何可用的JMS Provider来实现此Messaging Application。 JMS管理员在JMS Provider管理控制台中配置所有必需的受管理对象,以在我们的应用程序中使用它们。
So, as a JMS Developer, we need to concentrate on 3 parts: Producer, Consumer and Message.
因此,作为JMS开发人员,我们需要专注于3个部分:生产者,消费者和消息。
NOTE:-After reading this section, please refer “