b.queue.setClustered(newDest.isClustered());
if (newDest.isQueue())
{
JMSCondition queueCond = new JMSCondition(true, queueName);
addBinding(new Binding(queueCond, b.queue, false), false);
}
else
{
b.queue.setClustered(newDest.isClustered());
JMSCondition queueCond = new JMSCondition(false, newDest.getName());
addBinding(new Binding(queueCond, b.queue, true), newDest.isClustered());
}
return b.queue;
}