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

OpenJMS Integration

The following example configuration describes how to configure a Mule JMS connector for OpenJMS. You will probably need to change the connectionFactoryJndiName to one that is configured from your OpenJMS configuration.


       
    
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns="http://www.mulesoft.org/schema/mule/core"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:spring="http://www.springframework.org/schema/beans"
      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"
               jndiInitialFactory="org.exolab.jms.jndi.InitialContextFactory"
               jndiProviderUrl="tcp://localhost:3035"
               connectionFactoryJndiName="QueueConnectionFactory"/>
...