I was wondering whether it is possible to get a hold of the list of receivers attached to a queue and remove and add them programatically e.g. using JMX ?
The problem is that we have a third party solution that pulls stuff off a JMS queue. When the load on this system is heavy we want to start a new instance of this third party application on another box, it pulls messages off the same queue. When the load is light, we don't want this new instance to take stuff off the queue but due to a failing in the third part software, stopping that new instance will kill both clients. I suppose any other ideas as to how to overcome this problem are welcome too.