<?xml version="1.0" encoding="UTF-8"?>
<service id="message-service" class="flex.messaging.services.MessageService">

    <adapters>
        <adapter-definition id="actionscript" class="flex.messaging.services.messaging.adapters.ActionScriptAdapter" default="true" />
          <adapter-definition id="jms" class="flex.messaging.services.messaging.adapters.JMSAdapter"/>
    
    </adapters>

    <default-channels>
       <channel ref="my-streaming-amf"/>
      <channel ref="my-polling-amf"/>
    </default-channels>
    
    <destination id="hzdesigner">
      <properties>
            <server>
                <allow-subtopics>true</allow-subtopics>
                <subtopic-separator>.</subtopic-separator>
            </server>
        </properties>
        <channels>
             <channel ref="my-polling-amf"/>            
            <channel ref="my-streaming-amf"/>
        </channels>
     </destination>
    
    <destination id="hzmessage">
      <properties>
            <server>
                <allow-subtopics>true</allow-subtopics>
                <subtopic-separator>.</subtopic-separator>
            </server>
        </properties>
        <channels>
             <channel ref="my-polling-amf"/>            
            <channel ref="my-streaming-amf"/>
        </channels>
     </destination>
     
</service>
