4 Replies Latest reply on Aug 18, 2014 5:28 PM by Venkat Danda

    JCA Integration with remote HornetQ in clustered environment

    Venkat Danda Newbie

      I am trying to use HornetQ resource adapter to communicate with standalone HornetQ servers running in clustered environment. We have NodeA, NodeB and their backups NodeA-Backup and NodeB-Backup. I could able to send and receive messages but my scenario is if I disconnect/shutdown NodeA it should failover to NodeA-Backup. That is working as expected. Next try is shutdown the NodeA-Backup also then expecting messages to go to NodeB and that's where my issue is. It's hanging on creating the session (believe not getting lock). I am not sure should I use different connection pool configurations for sending messages than receiving? In this scenario I am excluding messaging subsystem.


      The same scenario works fine if I have the messaging subsystem with jms-connection-factories defined as specified in the attachment.


      I am using JBoss EAP 6.2 with HornetQ 2.4.0;Final


      Appreciate any direction on this issue.