autoDelete = declExchange.getAutoDelete ();
passive = declExchange.getPassive ();
AmqpStub.logger.trace ("AmqpStub - Received request for DECLARE EXCHANGE "); // $NON-NLS-1$
// NOTE: execute operation
final DriverOperationFinishedHandler exchHandler = new DriverOperationFinishedHandler (token, session);
resultBool = driver.declareExchange (token.getClientId (), exchange, AmqpExchangeType.valueOf (type.toString ().toUpperCase ()), durable, autoDelete, passive, exchHandler);
exchHandler.setDetails (AmqpOperations.DECLARE_EXCHANGE, resultBool);
break;
case DECL_QUEUE_REQUEST :
final AmqpPayloads.DeclareQueueRequest declQueue = (DeclareQueueRequest) message.payload;
token = declQueue.getToken ();