Camel概念【JMS】

JMS (Java Message Service)

JMS (Java Message Service) is a Java API that allows you to create, send, receive, and read messages. It also mandates that messaging is asynchronous and has specific elements of reliability, like guaranteed and once-and-only-once delivery.  JMS is the defacto messaging solution in the Java community.(JMS-java消息服务是java的API,它允许用户创建、发送、接收、读取信息。它规定了信息传送是异步的、有可靠而具体的实体,比如确定一次只完成一次交付,JMS是java体系中的消息传递解决方案)。

In  JMS , message consumers and producers talk to one another through an intermediary—a  JMS destination. As shown in figure 2.4, a destination can be either a queue or a topic. (在JMS中,消息的消费者和生产者通过JMS的中间件destination进行交互,destination分为queue 和 topic)

Queues are strictly point-to-point, where each message has only one consumer. (队列是严格的点对点,一条message只有一个消费者)

Topics operate on a publish/subscribe scheme; a single message may be delivered to many consumers if they have subscribed to the topic.(主题运行一种发布订阅的模式,如果消费者订阅了主题,单条消息将发给多个consumers )



时间: 2024-10-19 10:40:36

Camel概念【JMS】的相关文章

Camel概念【Exchange 】

Exchange An exchange in Camel is the message's container during routing. (在camel中,exchange被当做路由交换的容器) An exchange also provides support for the various types of interactions between systems, also known as message exchange patterns ( MEP s).  MEP s ar

Camel概念【Architecture 】

1.4 Camel's architectureLet's now turn our attention to Camel's architecture. We'll first take a look at the high-level architecture and then drill down into the specific concepts. After you've read this section, you should be caught up on the integr

camel概念【Message】

此为message的功能 Messages are the entities used by systems to communicate with each other when using messaging channels. Messages flow inone direction from a sender to a receiver(message的功能), as illustrated in figure 1.3. 此为message的结构 Messages have a bod

深入浅出JMS(一)--JMS基本概念

摘要:The Java Message Service (JMS) API is a messaging standard that allows application components based on the Java Platform Enterprise Edition (Java EE) to create, send, receive, and read messages. It enables distributed communication that is loosely

【AMQ】之JMS概念

1.JMS(Java Message Service)Java消息服务,是Java20几种技术其中之一 2.JMS规范定义了Java中访问消息中间件的接口,但是没有给实现,这个实现就是由第三方使用者来开发实现,我们称为JMS provider,例如AMQ 3.实现了JMS接口和规范的消息中间件我们称为:JMS提供者(JMS Provider) 4.JMS Message 由三部分组成 消息头,每个消息对应的get set方法 消息属性, 消息体,具体业务数据 JMS producer ,消息生产

JMS基本概念

原文:http://blog.csdn.net/jiuqiyuliang/article/details/46701559 The Java Message Service (JMS) API is a messaging standard that allows application components based on the Java Platform Enterprise Edition (Java EE) to create, send, receive, and read mes

Java消息队列ActiveMQ (一)--JMS基本概念

摘要:The Java Message Service (JMS) API is a messaging standard that allows application components based on the Java Platform Enterprise Edition (Java EE) to create, send, receive, and read messages. It enables distributed communication that is loosely

JMS是一种应用于异步消息传递的标准API

JMS是一种应用于异步消息传递的标准API,作为Java平台的一部分,JMS可以允许不同应用.不同模块之间实现可靠.异步数据通信. 一些概念 JMS provider    An implementation of the JMS interface for a Message Oriented Middleware (MOM). Providers are implemented as either a Java JMS implementation or an adapter to a no

从JMS到KafKa

从JMS到KafKa JMS (1)JMS概念 JMS(Java Message Service,java消息服务)API是一个消息服务的标准或者说是规范,允许应用程序组件基于JavaEE平台创建.发送.接收和读取消息.它使分布式通信耦合度更低,消息服务更加可靠以及异步性. (2)消息模型 P2P:发送端将消息发送到消息队列(使用什么样的消息队列最优?),不用管接收端的行为,接受端只需要去消息队列中取消息,如果有消息就取出来进行消费,没有就进行等待. 图1:P2P模型 Publish-Subsc