cnhome

cnhome的博客大巴空间
    <<  买肉也是有学问地 | 首页 | 用VM6转换VMware ESX Server虚拟机到VMware Server中  >>
  • 2009-03-25

    ActiveMQ Installation Guide - [ActiveMQ]

    版权声明:转载时请以超链接形式标明文章原始出处和作者信息及本声明
    http://cnhome.blogbus.com/logs/37006055.html

    转自http://wiki.community.objectware.no/display/smidigtonull/ActiveMQ+Installation+Guide

     Documentation
    • ActiveMQ 5.2 Reference Guide v1.8
    • Using Apache ActiveMQ - overview over available guides
    • ActiveMQ Clustering
    • failover transport reference
    • FUSE Source ActiveMQ Persistence Guide

    Install

    Install and start with RPM
    • Download or build RPM
      • See http://issues.apache.org/activemq/browse/AMQ-2105
    • Add users and groups
      groupadd activemq
      useradd -g activemq activemq
    • Start
      sudo /etc/init.d/activemq start
    • Stop
      sudo /etc/init.d/activemq stop
    • Test that the server listens to port 61616
      netstat -an|grep 61616
    Install and start with tar.gz install
    • wget http://www.powertech.no/apache/dist/activemq/apache-activemq/5.2.0/apache-activemq-5.2.0-bin.tar.gz
    • tar -xvvzf apache-activemq-5.2.0-bin.tar.gz
    • Start
      nohup bin/activemq > logs/smlog 2>&1 &
    • (use kill to stop)
    • Test that the server listens to port 61616
    netstat -an|grep 61616

    Configuration

    We want:

    Server side config
    • persistent messaging
      • kaha store
    • tcp transport
    • dynamic creation of Destinations
    Client side config
    • auto-reconnection
    • - async sends and how do i enable asynchronous sending OR JMS transactions ?

    See Connection Configuration

    failover:(tcp://localhost:61616?wireFormat.tightEncodingEnabled=false)?jms.useAsyncSend=true&jms.copyMessageOnSend=false
    Remove unnecessary config from config file
    • Remove camel route
    • Remove unneeded transports. (See overview over available transports ).
    A "OK" working config

    See activemq.xml for config.

    Optimize performance

    FUSE Message Broker Performance Tuning Guide

    version 5 performance tuning

    15:27 < gtully> Sherriff: see: http://activemq.apache.org/activemq-performance-module-users-manual.html for some relevant options that can make a difference, like asyncSend and optimizeAcknowlegement

    http://activemq.apache.org/amq-message-store.html

    Fix log4j.properties
    • put the file in logs instead of in data.

    Debugging

    Enable debug logging
    vim conf/log4j.properties

    随机文章:

    Spring对ApplicationContext的3种实现 2009-05-04
    Apache日志的命名管道输出 2009-04-21
    济南特色之我见(1) 2008-11-20
    济南形象片 2008-10-12
    【转】统计上使用的县以下行政区划代码编制规则 2008-09-27

    收藏到:Del.icio.us




    Tag:ActiveMQ Install Guid
    引用地址:
    cnhome 发表于15:32:42 | 编辑 | 继续话题 | 转发 | 分享 0

搜索

最新日志

  • Infoworld发布2009年度开源软件大奖
  • Spring对ApplicationContext的3种实现
  • Apache日志的命名管道输出
  • 庆贺一下:)
  • 配置Log4j(很详细)
  • 详细讲解Java中log4j的使用方法
  • 用VM6转换VMware ESX Server虚拟机到VMware Server中
  • ActiveMQ Installation Guide
  • 买肉也是有学问地
  • 济南特色之我见(1)
全部日志>>

最新评论

  • zhouwin:收藏.
  • 访问统计:
  • RSS 什么是RSS?
    用IM提醒我内容更新
    订阅到QQ邮箱
    订阅到鲜果阅读器
    订阅到Google阅读器
    订阅到抓虾阅读器
  • 《城客》第四期:创意之城
    博客大巴
    博客大巴使用指南
    博客大巴模板中心
    免费注册博客大巴
    一键博客搬家工具
    中文互动杂志城客
Copyright © 2002-2009 BlogBus.com, All Rights Reserved. 博客大巴 版权所有
博客大巴模板设计: 城·视 | 作者:VCD