Spring 4.0 provides support for WebSocket communications, including:
Low-level API for sending and receiving messages;
Advanced API for sending and receiving messages;
The template used to send the message;
Support SOCKJS to
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
Spring WEBSOCKET+STOMP+SOCKJS Real-time communication detailed
The relationship between the first and third people
The HTTP connection is a request-once response (response) and must be called synchronously. The WebSocket protocol provides the
1. OverviewStarting from this article, we introduce another type of inter-system communication and transmission: MQ Message Queuing. First, we will discuss the basic principles and working methods of several common Message Queuing protocols,
Apollo originates from ACTIVEMQ and is known for its fast and reliable support for multi-protocol: STOMP, AMQP, Mqtt, Openwire, SSL, and WebSockets, described below for STOMP, AMQP, MQTT clients.The following is an introduction to the Apollo 1.7.11,
Python can also connect to MQ, taking ACTIVEMQ as an example to install stomp.py:https://github.com/jasonrbriggs/stomp.pyInstall after download:Python setup.py InstallVery simple, then a simple example:Import TimeImportSYSImportStompclassMyListener (
Spring WebSocket Detailed The spring framework supports WebSocket starting with version 4.0, and I'll detail the Spring WebSocket library. The content includes how the spring framework supports WebSocket messaging in Web applications, and how to
The above "Architecture design: Inter-system Communication (--ACTIVEMQ) installation and use"3, ACTIVEMQ performance optimization ideasThe two sections in the previous article mainly introduce the installation and basic use of the message middleware
The project used the message of real-time push, check the data used to spring WebSocket, looking for a lot of information, or feel the official Help document written most clearly, is summarized below.
There are also two very classic examples: one is
AMQP Protocol Introduction
AMQP, Advanced message Queuing Protocol, is an open standard for application-layer protocols designed for message-oriented middleware.
The main features of AMQP are message-oriented, queue, routing (including
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.