ActiveMQ using the Java programming operation

1, only the development activeMQ introduced activemq-all-5.14.0.jar introduced using coordinates maven  

2, the preparation of MQ message producers  

The default port 61616 tcp connection activeMQ! ! !

3, the preparation of MQ Consumer Code  

a) complete consumer use MessageConsumer

  View the console, find information has been consumed  

b) use of a listening device, listening content of the message, for consumption  

 

Guess you like

Origin blog.csdn.net/qq_40208605/article/details/93464898