Nav
You are viewing an older version of this section. Click here to navigate to the latest version.

Sun JMS Grid Integration

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


       
    
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?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>
...