public AMQShortString execute() throws AMQException, FailoverException
{
// Generate the queue name if the destination indicates that a client generated name is to be used.
if (amqd.isNameRequired())
{
amqd.setQueueName(protocolHandler.generateQueueName());
}
sendQueueDeclare(amqd, protocolHandler, nowait, passive);
return amqd.getAMQQueueName();