ACTIVEMQ actual Combat (i)-Introductory article

Source: Internet
Author: User
Tags enterprise integration patterns
Overview

Apache ActiveMQ is a very popular, powerful open source messaging bus service, ActiveMQ fully supports the JMS1.1 and the Java EE 1.4 specification.

The official introduction is as follows

Apache Activemq™is The most popular and powerful open source
Messaging and Integration Patterns server.

Apache ActiveMQ is fast, supports many cross Language clients and
Protocols, comes with easy-to-use Enterprise integration Patterns and
Many advanced features while fully supporting JMS 1.1 and Java EE 1.4.
Apache ActiveMQ is released under the Apache 2.0 License. Features

Supports a variety of cross Language clients and protocols from Java, C, C + +, C #, Ruby, Perl, Python, PHP openwire for HIG H performance clients in Java, C, C + +, C # Stomp support so that clients can is written easily in C, Ruby, Perl, Python, PH P, Actionscript/flash, Smalltalk-to-talk-to-ActiveMQ as-well-as-a-popular Message Broker AMQP v1.0 support MQTT v3 .1 support allowing for connections in an IoT environment.

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 Java EE 1.4 with support for transient, persistent, transactional and XA messaging

Spring support, so, ActiveMQ can easily embedded into spring applications and configured using Spring ' s XML configur ation mechanism

Tested inside popular EE servers such as Tomee, Geronimo, JBoss, GlassFish and WebLogic includes JCA 1.5 resource Adapto RS for inbound & outbound messaging So, ActiveMQ should auto-deploy in any Java EE 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 APIs to messaging

Ajax-to-support web streaming-browsers using pure DHTML, allowing web browsers to BES part of the messaging Fabric

CXF and Axis support so that ActiveMQ can is easily dropped into either of these Web service stacks to provide reliable me Ssaging

Can be used as a in memory JMS provider, ideal for unit testing JMS Installation & Deployment Windows

1. Download
Download the latest release version on the ACTIVEMQ website with the Windows version and the Linux version.

2. Unzip
Unzip the downloaded apache-activemq-5.13.2-bin.zip, get the extracted directory structure as follows



3. Start
Before starting ACTIVEMQ, make sure that the JDK has been installed and configured with environment variables to enter the bin record:


There are two folders for Win32 and Win64, which correspond to the startup scripts for windows32 bit and WINDOWS64 bit operating system respectively.

Since I installed the WIN10 64-bit system, I entered the Win64 directory and see the following directory structure:


Where Activemq.bat is the startup script, double-click Start.


Linux

1. Download
Download, "The latest stable release"

> wget http://activemq.apache.org/path/tofile/apache-activemq-5.13.2-bin.tar.gz

2. Unzip

> Tar zxvf activemq-5.13.2-bin.tar.gz

3. Start
A) run ActiveMQ as a Foregroud process:

> CD activemq-5.13.2/bin
>/ACTIVEMQ Console

b) Run ActiveMQ as a daemon process:

> CD [activemq_install_dir]/bin
>/activemq start
Verify that the installation is successful

After successful startup in the browser address bar input: Http://localhost:8161/admin, will be asked to enter the user name password, the default user name password is admin, admin, this user name password is configured in the Conf/users.properties. After entering the user name password, you can see the ACTIVEMQ console interface as shown below.

OK, this activemq has been started.

Resources:
Https://activemq.apache.org/getting-started.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.