The background use ActiveMQ transmission signal; Signaling message in XML format, use the character set GBK code, using the MQ queue mode to realize the messaging,
Message types: login (login), logout (cancelled), the config information (configuration), black (1), alarm (2) business, traffic (3),
Message format
<? The XML version="1.0" encoding="GBK"?>
<- data domain - & gt;
Service address example: failover://TCP://localhost: 61616
Example:
1, log in to register
To send data format
<? The XML version="1.0" encoding="GBK"?>
2. Login failed to reply
<? The XML version="1.0" encoding="GBK"?>
Code & lt;/Code>
The content & lt;/Message & gt;
Please help to write the corresponding code, thank you,
CodePudding user response:
Tall person online, etc., please feel free to comment, you just need to provide login and get back to pieces of information is good,CodePudding user response:
Tall person online, etc., please feel free to comment, you just need to provide login and get back to pieces of information is good,CodePudding user response:
Didn't understand, you is to parse an XML file?