现在的位置: 首页 > 综合 > 正文

ActiveMQ 简介 安装 启动

2014年01月25日 ⁄ 综合 ⁄ 共 3268字 ⁄ 字号 评论关闭

Apache ActiveMQ ™ is the most popular and powerful open source messaging andIntegration
Patterns
server.

 

Apache ActiveMQ is fast, supports many Cross Language
Clients and Protocols
, comes with easy to useEnterprise
Integration Patterns
and manyadvanced features
while fully supporting
JMS 1.1 and J2EE 1.4. Apache ActiveMQ
is released under the
Apache2.0
License

 

Features

  • Supports a variety of
    Cross Language Clients and Protocols
    from Java, C, C++, C#, Ruby, Perl, Python, PHP

    • OpenWire for high performance clients in Java, C, C++, C#
    • Stomp support so that clients can be written easily in C, Ruby, Perl, Python, PHP, ActionScript/Flash, Smalltalk to talk to ActiveMQ as well as
      any otherpopular Message Broker
  • full support for the
    Enterprise Integration Patterns
    both in the JMS client and the Message Broker
  • Supports many
    advanced features
    such as
    Message Groups
    ,
    Virtual Destinations
    ,
    Wildcards
    and
    Composite Destinations
  • Fully supports JMS 1.1 and J2EE 1.4 with support for transient, persistent, transactional and XA messaging
  • Spring Support so that ActiveMQ can be easily embedded into Spring applications and configured using Spring's XML configuration
    mechanism
  • Tested inside popular J2EE servers such as
    TomEE
    ,
    Geronimo
    , JBoss, GlassFish and WebLogic

    • Includes
      JCA 1.5 resource adaptors
      for inbound & outbound messaging so that ActiveMQ should auto-deploy in any J2EE 1.4 compliant server
  • Supports pluggable
    transport protocols
    such as
    in-VM
    , TCP, SSL, NIO, UDP, multicast, JGroups and JXTA transports
  • Supports very fast
    persistence
    using JDBC along with a high performance journal
  • Designed for high performance clustering, client-server, peer based communication
  • REST API to provide technology agnostic and language neutral web based API to messaging
  • Ajax to support web streaming support to web browsers using pure DHTML, allowing web browsers to be part of the messaging fabric
  • CXF and Axis Support so that ActiveMQ can be easily dropped into either of these web service stacks to provide reliable
    messaging
  • Can be used as an in memory JMS provider, ideal for
    unit testing JMS

    Pre-Installation Requirements

    Operating Systems:

    • Windows: Windows XP SP2, Windows 2000, Windows Vista, Windows 7.
    • Unix: Ubuntu Linux, Powerdog Linux, MacOS, AIX, HP-UX, Solaris, or any Unix platform that supports Java.

    Environment:

    • Java Developer Kit (JDK) 1.4.x or greater for deployment and 1.5.x (Java 5) for compiling/building.As of AMQ 5.5.0 you need JDK 1.6.0 to build.
    • The JAVA_HOME environment variable must be set to the directory where the JDK is installed, e.g.,c:\Program Files\jsdk.1.4.2-09.
    • Maven 1.0.2 or greater (required when installing source or developer's releases).
    • JARs that will be used must be added to the classpath.

    Windows Binary Installation

    This procedure explains how to download and install the binary distribution on a Windows system.

    1. From a browser, navigate to
      activemq.apache.org/
      .
    2. Click the
      Download
      link in the navigation pane (the left pane).
    3. Click the
      ActiveMQ 4.x Release
      link under the "Latest Releases" section. This brings up a new page.
    4. Under the
      Download Here
      section, select the desired distribution (you may have to scroll down to see the "Download Here" section).

      For a binary distribution, the filename will be similar to: activemq-x.x.x.zip.
    5. Extract the files from the ZIP file into a directory of your choice.
    6. Proceed to the
      Starting ActiveMQ
      section of this document.
    7. Following start-up, go to the
      Testing the Installation
      section of this document.

          Dowload ActiveMQ apache-activemq-5.6.0-bin.zip  

          Extract apache-activemq-5.6.0-bin.zip  into E:\apache-activemq-5.6.0

          cd E:\apache-activemq-5.6.0-bin.zip

           \bin\activemq

           as follows:

    ........................................

     then monitor ActiveMQ using the web browser

    http://localhost:8161/admin/

     

  • 抱歉!评论已关闭.