========== ActiveMQ ==============
JMS : topic : 一对多; 发布订阅; 不保证数据是否被接受; 不存储topic信息; Queue : 一对一; 点对点; 保证数据被接收; 会存储信息;1. download activeMQ : apache-activemq-5.14.1-bin.tar.gz2. unzip it on Unix server
3. start :
export JAVA_HOME=/export/opt/jdk/1.8.0_45l64 /home/dy83694/apps/apache-activemq-5.14.1/bin/activemq start4. document : http://activemq.apache.org/getting-started.html#GettingStarted-ConfiguringActiveMQ Master-Slave : http://activemq.apache.org/masterslave.html5. Producer and consumer : http://activemq.apache.org/cross-language-clients.html