public function resolve(Command $command, InputInterface $input, OutputInterface $output, array $args)
{
$options = array_merge(array('host' => 'localhost', 'port' => 5763, 'login' => null, 'password' => null), $args);
$conn = new \AMQPConnection($options);
$conn->connect();
$channel = new \AMQPChannel($conn);
return new AmqpHandler(new \AMQPExchange($channel), $this->replacePlaceholders($args['name']));
}