- 浏览: 296759 次
- 性别:
- 来自: 北京
文章分类
- 全部博客 (279)
- java技术 (45)
- 存储技术 (6)
- 数据库技术 (29)
- 系统架构 (6)
- 项目管理 (0)
- 生活随想 (3)
- 性能优化 (22)
- OpenStack (0)
- 缓存技术 (3)
- 云计算 (1)
- linux (22)
- 网络通信 (12)
- 辅助开发 (1)
- web服务器和应用服务器 (6)
- 学习感悟 (2)
- 大数据技术(hadoop) (6)
- 高性能分布式系统 算法 (1)
- zookeeper (0)
- 算法 (4)
- dubbo (1)
- java技术 jvm (5)
- 系统设计 (1)
- 缓存失效算法比较 (1)
- javascript (1)
- maven (3)
- 设计模式 (13)
- spring以及常用框架 (5)
- SOA框架 (5)
- 监控系统 (1)
最新评论
-
kongdong88:
Netty简单应用与线上服 ...
用Netty实现的一个简单的HTTP服务器 -
phili1999:
兄弟,此乃Eclipse的bug,至今未解决,可见国人地位低啊 ...
eclipse的控制台在UTF-8编码下键盘输入BUG问题,请问有谁能解决 -
xiaguobing:
谢谢分享啊
MetaQ初探 -
ih0qtq:
...
java性能编码规范整理
Getting Started
Welcome to Apache ActiveMQ. This document gives you a quick overview of how to get started trying out Apache ActiveMQ.
Running the broker
From the binary distribution you can run the Apache ActiveMQ server via the bin/activemq command. If you're using Windows, just type
cd bin activemq.bat
On Unix-like systems, type
./bin/activemq console
to start the broker in foreground.
The Apache ActiveMQ broker should now have started
Tip: If you run the bin/activemq command without any arguments it will output usage.
To stop the broker you can press ctrl + c to stop the process.Running the broker in the background
The broker can be started as a background process via the bin/activemq command on Unix-like systems, type
./bin/activemq start
to start the broker in background. The broker will write to its log in the data/activemq.log file.
Stopping the broker
The broker can be stopped via the bin/activemq command If you're using Windows, just type
cd bin activemq.bat stop
On Unix-like systems, type
./bin/activemq stop
to stop the broker.
Access the web console
In a web browser you can access the url http://0.0.0.0:8161/admin to access the ActiveMQ web console.Access the web demos
In a web browser you can access the url http://0.0.0.0:8161/demo to access the ActiveMQ web demos.Running the example programs
To run the demo producer/consumer tools, you need Java and Ant installed.
Installing Ant
The example programs depend on Ant being installed. There are more detailed instructions on the Ant website - but essentially you need to follow these steps.
- JAVA_HOME must point to your JDK installation, such that $JAVA_HOME/bin contains the java executable and $JAVA_HOME/lib contains some jar files.
- ANT_HOME must point to where you installed Apache Ant (http://ant.apache.org)
- then you need to add $JAVA_HOME/bin and $ANT_HOME/bin to your PATH variable.
To test this is all working, try typing
java -version cd example ant -version
Running the example producer and consumer
Once you've got Java and Ant installed correctly you should be able to run
cd example ant consumer
and in another shell
cd example ant producer
you can specify exact URLs to connect to via command like arguments. e.g.
ant producer -Durl=tcp://somehost:port
Further Readings
You can find more details about Apache ActiveMQ at its website http://activemq.apache.org, as well the guide getting started guide.发表评论
-
JVM内存配置详解
2016-09-03 10:16 707前段时间在一个项目的性能测试中又发生了一次OOM(Ou ... -
gc日志分析工具
2014-07-31 11:29 712性能测试排查定 ... -
ByteBuffer使用
2014-04-08 15:04 2090在NIO中,数据的读写操作始终是与缓冲区相关联的.读取时信 ... -
用java实现生产者和消费者问题 .
2014-02-08 15:18 546package javaTest; //测试类 ... -
应用Hash函数(java描述) .
2014-02-08 15:16 912计算理论中,没有Hash ... -
JAVA正则表达式 Pattern和Matcher
2013-09-15 12:14 658java.util.regex是一个用正则表达式所订制 ... -
异常处理之最佳实践(Best Practices for Exception Handling )
2013-09-15 12:15 1069关于异常处理最主要的问题是什么时间、怎么使用,在本 ... -
转 探索 ConcurrentHashMap 高并发性的实现机制
2013-08-14 10:16 487简介 ConcurrentHashMap 是 util. ... -
JAVA线程池的分析和使用
2013-08-14 10:11 8361. 引言 合理利用线程池能够带来三个好处。第一: ... -
MAT工具介绍
2013-08-13 09:17 838为什么用MAT 之前的观点,我认为使用实时prof ... -
聊聊内存泄露
2013-08-12 17:42 8311.什么是内存泄露 看到网上有很多人都在问内存泄露与内存 ... -
Java多线程-阻塞队列BlockingQueue .
2013-08-05 09:14 913前言: 在新 ... -
让servlet支持浏览器缓存
2013-06-20 15:16 1091大家都知道IE等浏览器支持缓存,并且缓存策略可配置,这样可 ... -
在服务器端判断request来自Ajax请求(异步)还是传统请求(同步)
2013-06-20 14:34 1003转自: http://holdbelief.javaeye ... -
Runtime.addShutdownHook()方法理解
2013-05-05 08:39 933Runtime.addShutdownHo ... -
Jaxb2 实现JavaBean与xml互转
2013-04-18 22:39 1200一、简介 JAXB(Java Archite ... -
JVM中Load过多Class的分析
2013-04-12 08:58 2845JVM中Load过多Class的分析 2013-01 ... -
Java动态代理机制分析及扩展
2013-04-12 08:59 763本文通过分析 Java 动态代理的机制和特点,解读动 ... -
proxool与tomcat DBCP连接池性能评测
2013-04-10 13:49 847proxool与tomcat DBCP连接池性能评测 ... -
Java String的序列化小结
2013-04-10 13:49 815String对我们来说太熟悉了,因为它无处不在,更因为用S ...
相关推荐
使用doxygen生成的ActiveMQ 5.7源码API 直接根据代码注释生成的源码API 直接解压找到文件夹下index.html查看
ActiveMQ实践入门指南
activemq 5.7 官方源代码,方便同学们下载 activemq 5.7 官方源代码,方便同学们下载
This is an introduction to the document describing ActiveMQ
apache-activemq 5.7 源码及jar包 含帮助文档,源代码,例子等。项目可部署运行,亲测。
windows 搭建 activemq 单机版 ActiveMQ部署其实很简单,和所有Java一样,要跑java程序就必须先安装JDK并配置好环境变量 ,这个很简单。 然后解压下载的apache-activemq-5.7.0.zip压缩包到一个目录
代码和详解
Windows版apache-activemq-5.7.0欢迎下载
标签:activemq-rar-5.7.0.rar,activemq,rar,5.7.0.rar包下载,依赖包
使用activeMQ实现生产者消费者
activemq学习入门第一步
apache activemq 5.7版本的方便大家下载,window系统的
activeMQ入门到精通
本视频包含JMS相关知识,activeMQ入门,集群等,觉得视频可以的小伙伴给个赞,谢谢了
activemq 配置说明与activemq入门讲解
JMS、ActiveMQ入门及深入使用的例子,这些例子都是我测试的
ActiveMQ入门例子,有三个小Demo,有简单的说明,具体下载看项目吧。
ActiveMQ基础入门
ActiveMQ入门,ActiveMQ介绍和应用案例,提供一个实例(基于spring);