Contact Us 1-800-596-4880

Sun JMS Grid Integration

The following configuration demonstrates how to configure the JMS Transport Reference in Mule to use the Sun JMS Grid server.

<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:spring="http://www.springframework.org/schema/beans"
      xmlns="http://www.mulesoft.org/schema/mule/core"
      xmlns:jms="http://www.mulesoft.org/schema/mule/jms"
    xsi:schemaLocation="
      http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd
      http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/3.0/mule.xsd
      http://www.mulesoft.org/schema/mule/jms http://www.mulesoft.org/schema/mule/jms/3.0/mule-jms.xsd">

<jms:connector name="jmsConnector" specification="1.1"
               connectionFactoryJndiName="QueueConnectionFactory"
               jndiInitialFactory="com.spirit.directory.SpiritVMDirectoryContextFactory"
        <spring:property name="jndiProviderProperties">
            <spring:map>
                <spring:entry key="driverName" value="WMSEmbedded"/>
            </spring:map>
        </spring:property>
</jms:connector>
...