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 

105138_et3u_1788192.jpg





转载于:https://my.oschina.net/anna153/blog/373526

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值