1 Reply Latest reply on Jun 2, 2015 10:15 AM by Justin Bertram

    Clustered durable subscriptions

    Bart Cremers Newbie

      We've got a HornetQ cluster setup containing 2 nodes (both live).

       

      We've also got a wildfly instance running on each server, running the same application. These servers are not clustered, work is distributed using a load balancer.

      In the application are some message driven beans defined containing a durable subscription to the same topic. When deploying this application we see on one of the wildfly instances the error "HQ154003: Unable to reconnect ... : javax.jms.IllegalStateException: Can not create a subscriber on the the durable subscription since it alread has subscriber(s)"

       

      I can see from the HornetQ examples that this should be possible, but I can't find out how I should configure the connection factories in wildfly to make this work.