Activemq is the most popular and powerful open-source message bus produced by Apache. Activemq is a JMS provider that fully supports the jms1.1 and J2EE 1.4 specifications. Although it has been a long time since the JMS specifications were introduced, however, JMS still plays a special role in today's J2EE applications.
Main features:
1. Write clients in multiple languages and protocols. Languages: Java, C,
I. Opening Speech
Following the previous article on sending and receiving messages using jms in weblogic, this article uses ActiveMQ, an open source component of apache, to discuss the topic of JMS. This article is just an example of activating ActiveMQ, hope to help you.
Ii. ActiveMQ
1. ActiveMQ introduction:
1. Download ACTIVEMQGo to official website download: http://activemq.apache.org/2. Running ACTIVEMQUnzip Apache-activemq-5.5.1-bin.zip, and then double-click Apache-activemq-5.5.1\bin\activemq.bat to run the ACTIVEMQ program.After starting ACTIVEMQ, log in: http://localhost:8161/admin/, create a queue, named Firstqueue
Before discussing the details of connectors and their role in the overall ActiveMQArchitecture, it ' s important to understand connector URIs. Uniform Resource Identifiers(URIs), as a concept, aren ' t new, and you ' ve probably used them over and over againWithout realizing it. URIs were first introduced for addressing resources in the worldWide Web. The specification (Http://mng.bz/8iPP) defines the URI as "a compactstring of characters for identifying an abstract or physical resource. " Becau
Assume that the two servers with the activemq Service are:
We plan to share the data storage directory in the activemq directory on 91 to the activemq service of 90.
Configuration on 91:1. Install the NFS service and rpcbind service. These two services are generally installed on the server, you can run the "service NFS status" and "service rpcbind status" comm
Original address: http://www.cnblogs.com/jaycekon/p/6225058.html1. Download and install ACTIVEMQACTIVEMQ Official website: http://activemq.apache.org/download.htmlActiveMQ provides several versions of Windows and Linux, Unix, and so on, the landlord chose the Linux version for development.After downloading the installation package, unzip the directory: From its directory, it is still very simple:
The bin holds the script file
Conf storage is a basic configuration file
Da
Linuxinstall Activemq 5.14.1 in the1 , download related ActiveMQ Install packageDownload path:http://activemq.apache.org/download.htmlDownload the latest installation package and select Linux for download2 , unzip rename( 1 ) Decompression:# TAR-ZXVF Apache-activemq-5.14.1-bin.tar.gz-c/usr/local( 2 ) Rename ActiveMQ# M
Build ActiveMQ clusters based on ZooKeeper and LevelDBOfficial Document: Http://activemq.apache.org/replicated-leveldb-store.htmlCluster schematic diagram:650) this.width=650; "Src=" http://activemq.apache.org/replicated-leveldb-store.data/replicated-leveldb-store.png "alt=" Replicated-leveldb-store.png "/>The principle of high availability:Use Zookeeper (cluster) to register all ACTIVEMQ Broker. Only one o
Add configuration information in the/etc/hosts/directory of Linux[ --Ten- + -: -: +][warn][org.apache.activemq.util.idgenerator: -] could not generate unique Stubjava.net.UnknownHostException:portal.test:portal.test:Name or service not known At Java.net.InetAddress.getLocalHost (Inetaddress.java:1438) ~[na:1.7.0_09-IcedTea] at org.apache.activemq.util.IdGenerator. the) ~[activemq-all-activemq-all-5.3.2. Ja
Redis has created a new way of storing data. When using redis, we don't have to focus on how to put elephants in the refrigerator in the face of monotonous databases, instead, redis uses flexible data structures and data operations to build different refrigerators for different elephants. Common redis Data Types
ACTIVEMQ is a good thing, do not have to say more. ACTIVEMQ offers multiple language support, such as Java, C, C + +, C #, Ruby, Perl, Python, PHP, etc. Since I developed the GUI under Windows, I am more concerned with C + + and C #, where C # 's activemq is simple, and Apache provides NMS (. NET Messaging Service) support for. NET development, just a few steps t
Link: http://blog.csdn.net/shagoo/article/details/6077686
As the business volume of Internet enterprises continues to expand, enterprise information network systems become more complex, and performance problems become increasingly prominent. Serial service processing methods have become a major bottleneck, we need more Asynchronous Parallel Processing to improve the business processing capability of enterprise information systems. Therefore, an independent message processing system emerged.
1. Unzip to/opt and rename to Activemq[Email protected] tar]# TAR-ZXVF apache-activemq-5.14.4-bin.tar.gz-c/opt[[email protected] opt]# mv Apache-activemq-5 .14.4/activemq2, if the startup script Activemq does not have the executable permission, need to empower[Email protected] bin]# cd/opt/
Download ACTIVEMQ 5.8.0 release versionhttp://download.csdn.net/download/xisdo/5744107GetAnd then into the bin packageStarting the service will seeLogin: http://localhost:8161/admin/, we will see a login account and login password, respectively, admin,admin, how to see this login account and password?We should first find the Jetty.xml configuration file, modifyclass= "Org.eclipse.jetty.util.security.Constraint" > Authenticate defaults to False,
ActiveMQ (li), activemqli
I. ActiveMQ
First, ActiveMQ is not a framework. It is not a struct, webx, or netty framework. It is more like a tomcat server, because you must start it before using it, the relationship between activeMQ and JMS is a bit similar to that between tomcat and servlet. tomcat implements the servlet
0: DescriptionActiveMQ 5.9.0 The new master-slave implementation, based on zookeeper to elect a master, the other nodes automatically as slave real-time synchronization messages. Because there is real-time synchronization of data slave, Master does not have to worry about data loss, so LEVELDB will take priority to memory storage messages, asynchronous synchronization to disk, so this way of ACTIVEMQ read and write performance is best because the elec
The principle and merits of activemq file transmission mentioned above mentioned blobmessage, which uses fileserver to transfer files efficiently.
In fact, the fileserver demo is already available in the Web Console provided by activemq, which is located in webapps under the activemq installation directory.
When active
The previous article introduced the Activemq HA scheme based on ZK, although it is easier to understand, but there are two deficiencies:1) A large number of nodes occupied, 1 ZK cluster at least 3 nodes, 1 ACTIVEMQ cluster also have at least 3 nodes, but in fact, only one master node in the normal operation of external response, in other words, the cost of 6 nodes only to ensure 1
first, the realization principle
The ActiveMQ hierarchy diagram is shown in Figure 1.1.
Figure 1.1 ActiveMQ Structure hierarchy diagram
As the above figure shows, ActiveMQ is mainly composed of connectors, broker and message store, focusing on the broker section. Broker's representation in ActiveMQ is "Interface (int
ACTIVEMQ Single-use installation 1 Overview
ACTIVEMQ is an open-source, JMS1.1-compliant, message-oriented (MOM) middleware that provides efficient, scalable, stable, and secure enterprise-class messaging for applications. ACTIVEMQ uses the authorization provided by Apache, and anyone can modify its implementation code.
ACTIVEMQ's design goal is to provide standa
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.