4.2. Message Channel
来源:互联网 发布:ubuntu桌面美化dock 编辑:程序博客网 时间:2024/06/05 12:39
Overview
A message channel is a logical channel in a messaging system. That is, sending messages to different message channels provides an elementary way of sorting messages into different message types. Message queues and message topics are examples of message channels. You should remember that a logical channel is not the same as a physical channel. There can be several different ways of physically realizing a logical channel.
In Apache Camel, a message channel is represented by an endpoint URI of a message-oriented component as shown in Figure 4.2, “Message Channel Pattern”.
Figure 4.2. Message Channel Pattern
Message-oriented components
The following message-oriented components in Apache Camel support the notion of a message channel:
ActiveMQJMSAMQP
ActiveMQ
In ActiveMQ, message channels are represented by queues or topics. The endpoint URI for a specific queue, QueueName, has the following format:
activemq:QueueName
The endpoint URI for a specific topic, TopicName, has the following format:
activemq:topic:TopicName
For example, to send messages to the queue, Foo.Bar, use the following endpoint URI:
activemq:Foo.Bar
See for more details and instructions on setting up the ActiveMQ component.
JMS
The Java Messaging Service (JMS) is a generic wrapper layer that is used to access many different kinds of message systems (for example, you can use it to wrap ActiveMQ, MQSeries, Tibco, BEA, Sonic, and others). In JMS, message channels are represented by queues, or topics. The endpoint URI for a specific queue, QueueName, has the following format:
jms:QueueName
The endpoint URI for a specific topic, TopicName, has the following format:
jms:topic:TopicName
See for more details and instructions on setting up the JMS component.
AMQP
In AMQP, message channels are represented by queues, or topics. The endpoint URI for a specific queue, QueueName, has the following format:
amqp:QueueName
The endpoint URI for a specific topic, TopicName, has the following format:
amqp:topic:TopicName
See for more details and instructions on setting up the AMQP component.
- 4.2. Message Channel
- Spring Integration --- Message Channel
- Spring Integration集成框架之Message-Channel
- RDS-TMC(Traffic Message Channel)蕴藏的商机不可小视
- DSPLINk channel组件与message组件的小结
- Spring Integration channel中使用message-store的例子
- Channel
- channel
- channel
- Channel
- channel
- Channel
- Channel
- dubbo com.alibaba.dubbo.remoting.RemotingException: message can not send, because channel is closed
- 调用Dubbo服务报以下错误:RemotingException: message can not send, because channel is closed .
- message
- message
- message
- 硬件基础之电感
- 第一章 概率论的基本概念
- PHP实现的封装验证码类详解
- Cocos2d-x 动画
- 菜鸟到大神的上位历程,即学即用走向人生巅峰(转载)
- 4.2. Message Channel
- Codefroces455A Boredom
- Django 调试工具:Django Debug Toolbar
- Java语法基础-2
- 【hihocoder [Offer收割]编程练习赛9 B】【水题】水陆距离
- 数据分析系统Hive(第一部分)
- 4.3. Message Endpoint
- hdoj 5635 LCP Array (模拟)
- XMLHTTPRequest/Ajax请求 和普通请求的区别