I have Jboss 3.2.5 cluster (2 serves on Redhat linux) with HA-JMS setup. Also we have a simple POJO queue receiver for consuming messages from queue using HA-JNDI. Everything works fine when 2 servers in the cluster are running. When one server is down, queue receiver client stops consuming messages and it simply hangs even after JMS queues are established on the second server.
Since I am using HA-JNDI lookup from client code, I assume fail-over of the JMS queues between two server is transaparent to JMS clients. Do I need to do something special in queue receiver client code to work with server fail-over in a cluster setup..