Submit Search
Upload
Active Mq JMS
•
Download as PPT, PDF
•
2 likes
•
526 views
H
hzchenkj
Follow
Apache Active MQ
Read less
Read more
Report
Share
Report
Share
1 of 22
Download now
Recommended
谈谈模块化
谈谈模块化
衡锋 阳
java title
java title
lonegunman
ESB介紹_鄭世梧
ESB介紹_鄭世梧
Lawrence Huang
大众点评网的技术变迁之路
大众点评网的技术变迁之路
jeffz
a glance of Javascript module
a glance of Javascript module
zipeng zhang
02.web sphere培训 应用websphere
02.web sphere培训 应用websphere
littlecong
ASP.net MVC
ASP.net MVC
Guider Lee
Mq light in microservices
Mq light in microservices
Steve Upton
Recommended
谈谈模块化
谈谈模块化
衡锋 阳
java title
java title
lonegunman
ESB介紹_鄭世梧
ESB介紹_鄭世梧
Lawrence Huang
大众点评网的技术变迁之路
大众点评网的技术变迁之路
jeffz
a glance of Javascript module
a glance of Javascript module
zipeng zhang
02.web sphere培训 应用websphere
02.web sphere培训 应用websphere
littlecong
ASP.net MVC
ASP.net MVC
Guider Lee
Mq light in microservices
Mq light in microservices
Steve Upton
Active mq Installation and Master Slave setup
Active mq Installation and Master Slave setup
Ramakrishna Narkedamilli
ActiveMQ In Action
ActiveMQ In Action
Bruce Snyder
Messaging With ActiveMQ
Messaging With ActiveMQ
Bruce Snyder
Messaging for IoT
Messaging for IoT
Virtual JBoss User Group
Messaging for Web and Mobile with Apache ActiveMQ
Messaging for Web and Mobile with Apache ActiveMQ
dejanb
Advanced messaging with Apache ActiveMQ
Advanced messaging with Apache ActiveMQ
dejanb
美团前端架构简介
美团前端架构简介
pan weizeng
前端自動化工具
前端自動化工具
國昭 張
Nodejs & NAE
Nodejs & NAE
q3boy
移动端跨平台技术原理
移动端跨平台技术原理
gorillazf
04.wls jndi jms
04.wls jndi jms
Meng He
构建可扩展的微博系统
构建可扩展的微博系统
lonegunman
05.wls调优
05.wls调优
Meng He
A
A
lonegunman
Mock Server的应用与实践
Mock Server的应用与实践
qi lei
改善Programmer生活的sql技能
改善Programmer生活的sql技能
Rack Lin
新浪微博平台与安全架构
新浪微博平台与安全架构
n716
廣宣學堂: 企業導入微服務實戰
廣宣學堂: 企業導入微服務實戰
Paul Chao
企業導入微服務實戰 - updated
企業導入微服務實戰 - updated
Paul Chao
浅谈电商网站数据访问层(DAL)与 ORM 之适用性
浅谈电商网站数据访问层(DAL)与 ORM 之适用性
Xuefeng Zhang
Full stack-development with node js
Full stack-development with node js
Xuefeng Zhang
微服務架構 導入經驗分享 吳剛志 - Community Open Camp
微服務架構 導入經驗分享 吳剛志 - Community Open Camp
Andrew Wu
More Related Content
Viewers also liked
Active mq Installation and Master Slave setup
Active mq Installation and Master Slave setup
Ramakrishna Narkedamilli
ActiveMQ In Action
ActiveMQ In Action
Bruce Snyder
Messaging With ActiveMQ
Messaging With ActiveMQ
Bruce Snyder
Messaging for IoT
Messaging for IoT
Virtual JBoss User Group
Messaging for Web and Mobile with Apache ActiveMQ
Messaging for Web and Mobile with Apache ActiveMQ
dejanb
Advanced messaging with Apache ActiveMQ
Advanced messaging with Apache ActiveMQ
dejanb
Viewers also liked
(6)
Active mq Installation and Master Slave setup
Active mq Installation and Master Slave setup
ActiveMQ In Action
ActiveMQ In Action
Messaging With ActiveMQ
Messaging With ActiveMQ
Messaging for IoT
Messaging for IoT
Messaging for Web and Mobile with Apache ActiveMQ
Messaging for Web and Mobile with Apache ActiveMQ
Advanced messaging with Apache ActiveMQ
Advanced messaging with Apache ActiveMQ
Similar to Active Mq JMS
美团前端架构简介
美团前端架构简介
pan weizeng
前端自動化工具
前端自動化工具
國昭 張
Nodejs & NAE
Nodejs & NAE
q3boy
移动端跨平台技术原理
移动端跨平台技术原理
gorillazf
04.wls jndi jms
04.wls jndi jms
Meng He
构建可扩展的微博系统
构建可扩展的微博系统
lonegunman
05.wls调优
05.wls调优
Meng He
A
A
lonegunman
Mock Server的应用与实践
Mock Server的应用与实践
qi lei
改善Programmer生活的sql技能
改善Programmer生活的sql技能
Rack Lin
新浪微博平台与安全架构
新浪微博平台与安全架构
n716
廣宣學堂: 企業導入微服務實戰
廣宣學堂: 企業導入微服務實戰
Paul Chao
企業導入微服務實戰 - updated
企業導入微服務實戰 - updated
Paul Chao
浅谈电商网站数据访问层(DAL)与 ORM 之适用性
浅谈电商网站数据访问层(DAL)与 ORM 之适用性
Xuefeng Zhang
Full stack-development with node js
Full stack-development with node js
Xuefeng Zhang
微服務架構 導入經驗分享 吳剛志 - Community Open Camp
微服務架構 導入經驗分享 吳剛志 - Community Open Camp
Andrew Wu
Meteor
Meteor
Tencent
N-layer design & development
N-layer design & development
Xuefeng Zhang
一天交易达十亿次: 由核心J2Ee(Tm) 模式架构成的J2Ee(Tm)系统
一天交易达十亿次: 由核心J2Ee(Tm) 模式架构成的J2Ee(Tm)系统
yiditushe
一步一步开发Html5 mobile apps
一步一步开发Html5 mobile apps
Adam Lu
Similar to Active Mq JMS
(20)
美团前端架构简介
美团前端架构简介
前端自動化工具
前端自動化工具
Nodejs & NAE
Nodejs & NAE
移动端跨平台技术原理
移动端跨平台技术原理
04.wls jndi jms
04.wls jndi jms
构建可扩展的微博系统
构建可扩展的微博系统
05.wls调优
05.wls调优
A
A
Mock Server的应用与实践
Mock Server的应用与实践
改善Programmer生活的sql技能
改善Programmer生活的sql技能
新浪微博平台与安全架构
新浪微博平台与安全架构
廣宣學堂: 企業導入微服務實戰
廣宣學堂: 企業導入微服務實戰
企業導入微服務實戰 - updated
企業導入微服務實戰 - updated
浅谈电商网站数据访问层(DAL)与 ORM 之适用性
浅谈电商网站数据访问层(DAL)与 ORM 之适用性
Full stack-development with node js
Full stack-development with node js
微服務架構 導入經驗分享 吳剛志 - Community Open Camp
微服務架構 導入經驗分享 吳剛志 - Community Open Camp
Meteor
Meteor
N-layer design & development
N-layer design & development
一天交易达十亿次: 由核心J2Ee(Tm) 模式架构成的J2Ee(Tm)系统
一天交易达十亿次: 由核心J2Ee(Tm) 模式架构成的J2Ee(Tm)系统
一步一步开发Html5 mobile apps
一步一步开发Html5 mobile apps
Active Mq JMS
1.
ActiveMQ 作者: honno 时间: 2008.8 Email:
honnom@163.com 目前研究和应用推广的开源项目:
2.
概要 ActiveMQ -JMS - 特征 - 功能 -
实例
3.
4.
JMS 简介 • (
1 ) destination • ( 2 ) product • ( 3 ) consumer • ( 4 ) broker • ( 5 ) P2P,Pub/Sub
5.
ActiveMQ 与 JMS •
JMS 是一种规范。 • ActiveMQ 是 JMS 规范的一种实 现, MOM 。
6.
ActiveMQ 架构图 架构图
7.
ActiveMQ 主要特征 特征 : •
(1)JMS1.1,J2EE1.4 • (2)J2EE servers(Tomcat,JBoss4,GlassFish,WebLogic…) • (3) 多语言客户端( Java,C,C++,C#,Ruby,PhP ) • (4) 多种协议 (VM,TCP,SSL,UDP,multicast,JGroups…) • (5)Spring • (6)Ajax • (7)CXF,Axis • (8)REST • (9)Message Groups,Virtual Destinations,Wildcards,Composite Destinations • (10) 持久化 (journal,JDBC) • (11) 性能 (client-server,cluster,peer…)
8.
ActiveMQ 功能介绍 • 多种协议 •
持久化 • 安全 • 群集 • 监控 • 其他
9.
多种协议 URI: scheme:scheme-specific-part • (
1 ) VM vm://brokername • ( 2 ) TCP tcp://host:port • ( 3 ) SSL ssl://host:port • ( 4 ) HTTP http://host:port • ( 5 ) UDP udp://host:port
10.
多种协议 • ( 6
) peer peer://group/brokername • ( 7 ) multicast multicast://IPAddress • ( 8 ) static static(list uris) • ( 9 ) failover failvoer(list uris) • ( 10 ) discovery discovery://host:port
11.
持久化 • 日志 <journaledJDBC journalLogFiles="5"dataDirectory="../mq-data"
/> • 数据库 包括: Derby,HSQL,MySQL,SQLServer, Sybase,DB2,Oracle… <journaledJDBC dataSource="#mysql-ds"/>
12.
安全 • 认证 simpleAuthenticationPlugin jaasAuthenticationPlugin • 授权 authorizationPlugin
13.
集群 • Master/Slave • Network
of Brokers
14.
监控 • JMX • Advisory
Message
15.
ActiveMQ 高级话题 • Wildcards *
和 > • Composite Destinations <compositeQueue > <forwardTo> <queue … /> <topic … /> </forwardTo> </compositeQueue> • Message Groups
16.
ActiveMQ 入门实例 • 实例说明: •
ActiveMQ 发送和异步接受文本类型消息的 简单功能
17.
broker • 启动 • BrokerService
broker = new BrokerService(); try { broker.addConnector("tcp://localhost:61616"); broker.start(); } catch (InterruptedException e) { e.printStackTrace(); } catch (Exception e) { e.printStackTrace(); }
18.
producer • 发送 :
生产 10 个文本消息,并发送 . • MessageProducer producer = • session.createProducer(destination); TextMessage message • =session.createTextMessage(); for (int i = 0; i < 10; i++) { message.setText("This is message " + • (i + 1)); producer.send(message); }
19.
consumer • 接收 • MessageConsumer
consumer = session.createConsumer(destination); PrintlnUtil.println("Consumering Messages"); consumer.setMessageListener(this);
20.
运行效果图 详细: http://www.opensourceforce.org/thread-249-1-1.html
21.
更多资料 • 更多关于 SOA,ESB,MQ
的相关资料见: • 开源力量
22.
谢 谢
Download now