blob: bb355e94af99f31ee26f44716efe3392d1ab54cd [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns="http://www.mulesource.org/schema/mule/core/2.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:spring="http://www.springframework.org/schema/beans"
xmlns:stdio="http://www.mulesource.org/schema/mule/stdio/2.1"
xmlns:vm="http://www.mulesource.org/schema/mule/vm/2.1"
xmlns:jms="http://www.mulesource.org/schema/mule/jms/2.1"
xmlns:util="http://www.springframework.org/schema/util"
xmlns:jee="http://www.springframework.org/schema/jee"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.mulesource.org/schema/mule/core/2.1 IDEADEV_32773.xsd
http://www.mulesource.org/schema/mule/stdio/2.1 IDEADEV_32773-stdio.xsd
http://www.mulesource.org/schema/mule/vm/2.1 IDEADEV_32773-vm.xsd
http://www.mulesource.org/schema/mule/jms/2.1 IDEADEV_32773-jms.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.0.xsd
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.0.xsd">
<description>
</description>
<jms:connector name="JMSConnector"
jndiInitialFactory="org.jnp.interfaces.NamingContextFactory"
connectionFactoryJndiName="ConnectionFactory"
jndiProviderUrl="jnp://localhost:1099"
specification="1.1"
jndiDestinations="true"
forceJndiDestinations="true"/>
<jms:object-to-jmsmessage-transformer name="ObjectToJMSMessage"/>
<jms:jmsmessage-to-object-transformer name="JMSMessageToObject"/>
<!--
The Mule model initialises and manages your UMO components
-->
<model name="helloSample">
<service name="JMSTest">
<inbound>
<jms:inbound-endpoint queue="queue/testQueue" transformer-refs="JMSMessageToObject">
<jms:transaction<caret>
</jms:inbound-endpoint>
</inbound>
<outbound>
<pass-through-router>
<stdio:outbound-endpoint system="OUT"/>
</pass-through-router>
</outbound>
</service>
</model>
</mule>