             for (var j:uint = 0; j<ids.length; j++)
             {
                 dsChannels = xml.channels.channel.(@id == ids[j]);
-                channelConfig = dsChannels[0];                               
+                channelConfig = dsChannels[0];
                 dsUris.push(channelConfig.endpoint[0].attribute(URI_ATTR).toString());
             }
-            
+
             return ObjectUtil.compare(csUris, dsUris) == 0;
-            
+
         }
         return false;
     }
-    
+
     /**
      * @private
      * returns if the specified endpoint has been fetched already

    //--------------------------------------------------------------------------
    //
    // Static Constants
    // 
    //--------------------------------------------------------------------------

    /**

    {
        var destinations:XMLList = xml..destination.(@id == destinationId);
        var destinationCount:int = destinations.length();
        if (destinationCount == 0)
        {
            return null;
        }
        else
        {
            // Destination ids are unique among services
            return destinations[0];
        }
    }

    /**
     *  Helper method to look up and return a cached ChannelSet (and build and
     *  cache an instance if necessary).
     *
     *  @param destinationConfig The configuration for the target destination.
     *  @param destinatonId The id of the target destination.
     *
     *  @return The ChannelSet.
     */
    private static function internalGetChannelSet(
                                        destinationConfig:XML,
                                        destinationId:String):ChannelSet
    {
        var channelIds:Array;
        var clustered:Boolean;

        if (destinationConfig == null)
        {
            channelIds = getDefaultChannelIds();
            if (channelIds.length == 0)
            {
                var message:String = resourceManager.getString(
                    "messaging", "noChannelForDestination", [ destinationId ]);
                throw new InvalidDestinationError(message);
            }
            clustered = false;
        }
        else
        {
            channelIds = getChannelIds(destinationConfig);
            clustered = (destinationConfig.properties.network.cluster.length() > 0) ? true : false;
        }

        var channelSetId:String = channelIds.join(",") + ":" + clustered;

        if (channelSetId in _channelSets)
        {
            return _channelSets[channelSetId];
        }
        else
        {
