activemq transmission protocol

http://activemq.apache.org/configuring-version-5-transports.html

Activemq uses tcp protocol by default.
Before network transmission, serialized data is a byte stream
. The advantages of open wire tcp protocol
High reliability and strong stability; high efficiency, using byte stream transmission; high efficiency and availability support all platforms

nio 议:

Insert picture description here
auto + nio

Insert picture description here

//	public static String url = "tcp://localhost:61616";
//	public static String url = "nio://localhost:61618";
	public static String url = "auto+nio://localhost:5671";

Guess you like

Origin blog.csdn.net/weixin_39472101/article/details/115279190