Is it possible to have multiple endpoints with in a channel in my
services-config?
Currently this is what a sample config of mine would look like.
<channels>
<channel-definition id="cfamf"
class="mx.messaging.channels.AMFChannel">
<endpoint uri="http://admin.mydomain.com/flex2gateway/"
class="flex.messaging.endpoints.AMFEndpoint"/>
<properties>
<polling-enabled>false</polling-enabled>
<serialization>
<instantiate-types>false</instantiate-types>
</serialization>
</properties>
</channel-definition>
<channel-definition id="cfamf"
class="mx.messaging.channels.AMFChannel">
<endpoint uri="http://user.mydomain.com/flex2gateway/"
class="flex.messaging.endpoints.AMFEndpoint"/>
<properties>
<polling-enabled>false</polling-enabled>
<serialization>
<instantiate-types>false</instantiate-types>
</serialization>
</properties>
</channel-definition>
</channels>
This is how I would prefer it to work.
<channel-definition id="cfamf"
class="mx.messaging.channels.AMFChannel">
<endpoint uri="http://admin.mydomain.com/flex2gateway/"
class="flex.messaging.endpoints.AMFEndpoint"/>
<endpoint uri="http://user.mydomain.com/flex2gateway/"
class="flex.messaging.endpoints.AMFEndpoint"/>
<properties>
<polling-enabled>false</polling-enabled>
<serialization>
<instantiate-types>false</instantiate-types>
</serialization>
</properties>
</channel-definition>
</channels>