导航

随笔分类 -  activemq

摘要:http://lavasoft.blog.51cto.com/62575/1908111、环境:Windows XPapache-activemq-5.2.0-bin.zip 2、安装解压缩到apache-activemq-5.2.0-bin.zip到一个目录,比如C:\apache-activemq-5.2.0 3、配置配置就在C:\apache-activemq-5.2.0\conf目录下三个文件activemq.xmlcredentials.propertieslog4j.properties 4、启动ActiveMQ运行C:\apache-activemq-5.2.0\bin\act. 阅读全文

posted @ 2012-07-02 11:29 kingwangzhen 阅读(570) 评论(0) 推荐(1) 编辑

摘要:http://www.cnblogs.com/tommyli/archive/2010/09/13/1825205.html1:前言 这一段给公司开发消息总线有机会研究ActiveMQ,今天撰文给大家介绍一下他的持久化消息。本文只介绍三种方式,分别是持久化为文件,MYSql,Oracle。下面逐一介绍。A:持久化为文件 这个你装ActiveMQ时默认就是这种,只要你设置消息为持久化就可以了。涉及到的配置和代码有 <persistenceAdapter> <kahaDB directory="${activemq.base}/data/kahadb"/> 阅读全文

posted @ 2012-07-02 10:53 kingwangzhen 阅读(2749) 评论(0) 推荐(1) 编辑

摘要:http://activemq.apache.org/nms/activemq-enumerate-destination-using-advisory-messages.htmlThis example shows you how to consume Advisory Messages from the Broker to enumerate various destination types./* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agre. 阅读全文

posted @ 2012-07-02 09:21 kingwangzhen 阅读(937) 评论(0) 推荐(0) 编辑