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


  <object id="ConnectionFactory" type="Spring.Messaging.Ems.Common.EmsConnectionFactory, Spring.Messaging.Ems">
    <constructor-arg ref="NativeConnectionFactory"/>
  </object>
  <object id="NativeConnectionFactory" type="TIBCO.EMS.ConnectionFactory, TIBCO.EMS">
    <constructor-arg index="0" value="tcp://localhost:7222"/>
  </object>

          
  <object name="SimpleMessageListenerContainer" type="Spring.Messaging.Ems.Listener.SimpleMessageListenerContainer, Spring.Messaging.Ems">
    <property name="ConnectionFactory" ref="ConnectionFactory"/>
    <property name="DestinationName" value="test.queue"/>
    <property name="MessageListener" ref="SimpleMessageListener"/>
    <property name="ExceptionListener">
      <object type="Spring.Messaging.ems.Integration.LoggingExceptionHandler, Spring.Messaging.Ems.Tests"/>
    </property>
  </object>

  <object id="SimpleMessageListener" type="Spring.Messaging.Ems.Integration.SimpleMessageListener, Spring.Messaging.Ems.Tests"/>


  <object name="MessageTemplate" type="Spring.Messaging.Ems.Core.EmsTemplate, Spring.Messaging.Ems">
    <property name="ConnectionFactory" ref="ConnectionFactory"/>
    <property name="DefaultDestinationName" value="test.queue"/>
  </object>
</objects>