//This is also used to prevent a possible race condition where a clustered durable sub is bound on all nodes
//but then unsubscribed before the bind is complete on all nodes, leaving it bound on some nodes and not on others
//The bind all is synchronous so by the time we add the x to the replicator we know it is bound on all nodes
//and same to unsubscribe
Replicator rep = (Replicator)postOffice;
rep.put(queue.getName(), DUR_SUB_STATE_CONSUMERS);
}
ConsumerAdvised advised;
// Need to synchronized to prevent a deadlock