activemq master / slave structure configuration analysis

activemq is an important open source Apache product, the application for the queue to play a significant role in promoting, when in actual project application, through the transmission queue data security is a primary issue to be considered in the activemq configuration provides three mater / slave backup mode:

First, memory backup, the system downtime, the original data is lost, the configuration file as follows:

master broker configuration file, without any particular place, is a standard broker configuration.

slave broker configuration file, the red part is very important that the composition of a backup and a master of structure, under normal circumstances, the slave is in standby status, problems arise when the master, slave to working condition.

1, by default, activemq start is to use file as the persistent storage, so when the two broker on the same server on startup, Not the case with persistenceAdapter that file sharing type of mutual support mechanism. 2 can be configured to share files using persistenceAdapter location, when the broker starts a different server, To form a mutual support mechanism.

Two profiles, except transportationConnector inconsistent, other things being equal:

<! - In the default case, activemq start is to use file as the persistent storage, so when the two broker on the same server on startup, Not the case with persistenceAdapter that file sharing type of mutual support mechanism. Can be configured to share files using persistenceAdapter location, when the broker starts a different server, To form a mutual support mechanism. -> <persistenceAdapter> <journaledJDBC dataDirectory="/sharedFileSystem/broker"/> </ PersistenceAdapter>

I dwr Chinese document on a collation do dwr.xml purely jobs they take, there are useful do not forget to top friend you, leave a contact with the exchange of learning! Welcome to my site to exchange technical www.ithuzhu.com dwr.xml is the DWR confi

EDITORIAL: Use the jetty has been a long time, it is a very good web containers and tools to share in this special jetty6 knowledge. Network, there are some information on the jetty, but it used outdated and does not have a systematic, resulting in a

Red5 is built on Jetty6 (servlet engine), Mina (networking) basis, and will play through the use of integrating Spring Framework. So we need to have some configuration files. We may load the properties file through simplified configuration, so users