public function validateamqpAction()
    {
        $request = $this->getRequest();

        $configMap = Mage::getModel('radial_amqp/config');
        $hostname = $this->_validatorHelper->getParamOrFallbackValue(
            $request,
            self::HOSTNAME_PARAM,
            self::HOSTNAME_USE_DEFAULT_PARAM,
            $configMap->getPathForKey('hostname')
        );
        $username = $this->_validatorHelper->getParamOrFallbackValue(
            $request,
            self::USERNAME_PARAM,
            self::USERNAME_USE_DEFAULT_PARAM,
            $configMap->getPathForKey('username')
        );
        $password = $this->_validatorHelper->getEncryptedParamOrFallbackValue(
            $request,
            self::PASSWORD_PARAM,
            self::PASSWORD_USE_DEFAULT_PARAM,
            $configMap->getPathForKey('password')
        );

        $validator = $this->_getAmqpApiValidator($this->_getSourceStore());
        $this->getResponse()->setHeader('Content-Type', 'text/json')
            ->setBody(json_encode($validator->testConnection($hostname, $username, $password)));
        return $this;
    }