Contact Us 1-800-596-4880

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.

<?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"/>
...