{
return false;
}
else
{
HornetQQueue hqQueue = HornetQDestination.createQueue(queueName);
// Convert from JMS selector to core filter
String coreFilterString = null;
if (selectorString != null)
{
coreFilterString = SelectorTranslator.convertToHornetQFilterString(selectorString);
}
Queue queue = server.deployQueue(SimpleString.toSimpleString(hqQueue.getAddress()),
SimpleString.toSimpleString(hqQueue.getAddress()),
SimpleString.toSimpleString(coreFilterString),
durable,
false);
queues.put(queueName, hqQueue);