Recently there are projects that use Message Queuing, the best open source framework in the JMS specification is ACTIVEMQ, so choose it (of course, this is my boss's decision, like I just into the workplace of the little rookie to consider the problem is not comprehensive) as a message queue to transmit data, the company has a formed Message queue framework implementation, However, the framework of the company in the implementation of a good and compr
Original: http://blog.csdn.net/jiuqiyuliang/article/details/47160259In the real enterprise, the application of message communication has been very hot, and plays a special role in the enterprise application of the Java EE, so it is very necessary to study it.In brief, the basic concept of JMS (a) –JMS, we introduce the canonical JMS of message communication, we introduce an open source JMS concrete implementation--activemq.
You 've probably heard of Java Message Service (JMS ). it's a standard Java API for creating, sending, processing ing and reading messages. activeMQ, an Apache project, is an open source message broker that supports JMS 1.1. in addition to supporting JMS, it supports other protocols that allow clients to be written in a variety of ages. look at this page for more information. sounds good, doesn' t it? Let's try it out using. NET, C # and Visual Studio
I. Basic Concepts As part of the J2EE system standard, JMS specifies the specifications for sending and receiving messages synchronously and asynchronously between applications. Activemq is a message server that implements the JMS standard. Several important concepts of activemq: 1.
Client: activemq The client includes two types: producer and consumer. It can be
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
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
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
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 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.