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:
http:
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