HornetQ Topic/queue for Clojure1. HornetQ OverviewHornetQ is an asynchronous messaging system that supports clustering and multiple protocols that can be embedded and high-performance. HornetQ fully supports JMS,HornetQ not only supports JMS1.1 API
Message must be persistent
Master server configuration file:
Hornetq-configure.xml add
// Persistent configuration true
// Connector used to connect to the backup server
......
// Backup Connector
org. hornetq. Core. remoting. impl.
Message must be persisted
Primary service-side configuration file:
Hornetq-configure.xml add
Persistent configurationtrue
Connectors for connecting to the backup server
......
Standby
Download the HORNETQ and unpack, start the Run.bat hornetq service below the bin directory.
The "Springintegration" in the demo implements the asynchronous pattern in a listener way.
In the demo, the "topic" C-end obtains the message through the
Document directory
Environment
Problem
Solution
Environment
JBoss 6.0 + myeclipse 8.6 + MySQL 5.1 + Struts 2.3 + EJB 3.0
Problem
The following exception occurs when JBoss is started:
Java. Lang. noclassdeffounderror:
Wildfly, formerly JBoss as, from V8 to the difference from JBoss EAP, renamed to Wildfly. HORNETQ is an independent message-oriented middleware developed by JBoss and is integrated into wildfly as a message subsystem.
HORNETQ fully supports
# ===================================================================# COMMON SPRING BOOT properties## This sample file is provided as a guideline. Do not copy the IT in its# entirety to your own application. ^^^# ======================
Environment]Internal test:QMS server: 192.168.5.7/192.168.3.73QCS server: 192.168.5.9/192.168.3.74Database: 192.168.5.9/192.168.3.24Database User: iptv_zj
[Note] First deploy QMS and AS, and then deploy QCS.This version of AS. war is deployed under
===================================================================
COMMON SPRING BOOT PROPERTIES
# This sample file is provided as a guideline. Do not copy it entirety to your own application. ^^ ^ ============================================ ====
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.