JBoss AS 7.1.1 and HornetQ Clustering in two nodes


Fist follow
https://docs.jboss.org/author/display/AS71/AS7+Cluster+Howto

Check the  domain.xml configuration in the Master node  ( for profile - full-ha part) for the things marked yellow

Code as well as the domain.xml configuration  and the ports to be open is in GitHub https://github.com/alexcpn/jboss_hornetq_clustering

(Tested with AS 7.1.1)

Invocation

http://:8330/MroControllerREST/rest/sessionbean/startmro?scopename=werwerwe
http://:8330/MroControllerREST/rest/sessionbean/startmro?scopename=werwerwe

Will create a message/messages and send to MROQueue ; The MROExecutorMDB will receive it and post a message to MROTopic which will be received by MROControllerMDB in both the master and slave nodes

(Deploy MROController.ear and MROExecuotor.ear to only other-server-group (jboss-cli.sh , connect to master and deploy)


Comments

Popular posts from this blog

Long running Java process resource consumption monitoring , leak detection and GC tuning

Best practises - Selenium WebDriver/ Java

CORBA - C++ Client (ACE TAO) Java Server (JacORB) A simple example