<?xml version="1.0" encoding="utf-8" ?>
<objects xmlns="http://www.springframework.net">


  <object id='msqueue' type='Spring.Messaging.Support.MessageQueueFactoryObject, Spring.Messaging'>
    <property name='Path' value='.\Private$\testqueue'/>
    <property name='ProductTemplate'>
      <object>
        <property name='Label' value='MyLabel'/>
      </object>
    </property>
  </object>

  <object id="queue" type="Spring.Messaging.Core.MessageQueueTemplate, Spring.Messaging">
    <property name="MessageQueueName" value="msqueue"/>
    <property name="MessageConverter" ref="messageConverter"/>
  </object>

  <object id="messageConverter" type="Spring.Messaging.Support.Converters.XmlMessageConverter, Spring.Messaging">
    <property name="TargetTypes" value="System.String"/>
  </object>

  <object id="simpleMessageListenerContainer" type="Spring.Messaging.Listener.SimpleMessageListenerContainer, Spring.Messaging">
    <property name="MessageQueue" ref="msqueue"/>
    <property name="MessageListener" ref="simpleMessageListener"/>
    <property name="ExceptionHandler">
      <object type="Spring.Messaging.Listener.LoggingExceptionHandler, Spring.Messaging.Tests"/>
    </property>
    <property name="AutoStartup" value="false"/>
  </object>

  <object id="simpleMessageListener" type="Spring.Messaging.Listener.SimpleMessageListener, Spring.Messaging.Tests"/>
  
</objects>