ActiveMQ isn’t just another Java message broker,but rather a general messaging platform for various environments.
OpenWire is designed to be an efficient binary protocol in terms of network bandwidth and performance. This makes it an ideal choice for communication with socalled native clients usually written in Java, C, or C#. But all this efficiency comes at a cost, and in this case it’s the complexity of implementation.
STOMP (Streaming Text Oriented Messaging Protocol), on the other hand, is designed with entirely different requirements in mind. It’s a simple text-oriented protocol, similar to HTTP. You can see it as HTTP adapted to the messaging realm. This implies that it’s easy to implement the STOMP client in an arbitrary programming language. It’s even possible to communicate with the broker through the telnet session using STOMP.
ASCII null character (^@).
后续待补充......
参考书籍:ActiveMQ in Action