public static function buildSync(
        $host,
        $port,
        $user,
        $pass,
        $exchangeName,
        $escapeMode = self::ESCAPE_MODE_SERIALIZE,
        $timeout = 0
    ) {
        return self::build($host, $port, $user, $pass, $exchangeName, true, $escapeMode, $timeout);
    }
public static function buildSync(
        $host,
        $port,
        $user,
        $pass,
        $exchangeName,
        $escapeMode = self::ESCAPE_MODE_SERIALIZE,
        $timeout = 0
    ) {
        return self::build($host, $port, $user, $pass, $exchangeName, true, $escapeMode, $timeout);
    }
public static function buildSync ( $ host , $ port , $ user , $ pass , $ exchangeName , $ escapeMode = self :: ESCAPE_MODE_SERIALIZE , $ timeout = 0 ) { return self :: build ( $ host , $ port , $ user , $ pass , $ exchangeName , true , $ escapeMode , $ timeout ) ; }
Build a sync publisher

@param string $host
@param string $port
@param string $user
@param string $pass
@param string $exchangeName
@param string $escapeMode
@param int    $timeout

@return QueuePublisher
Build a sync publisher