Nav
You are viewing an older version of this topic. To go to a different version, use the version menu at the upper-right. +

Solace JMS

The following example demonstrates how to configure Mule to use link:Solace JMS.


       
    
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<jms:connector name="SolaceJMS" specification="1.1" username="muleuser" password="mulepassword" validateConnections="true" jndiInitialFactory="com.solacesystems.jndi.SolJNDIInitialContextFactory" jndiProviderUrl="smf://69.20.234.126:22234" connectionFactoryJndiName="cf/default" jndiDestinations="true" forceJndiDestinations="true" durable="true" persistentDelivery="true" cacheJmsSessions="true" eagerConsumer="true" doc:name="JMS">
 
        <spring:property name="jndiProviderProperties">
            <spring:map>
                <spring:entry key="java.naming.security.principal" value="muleuser"/>
                <spring:entry key="java.naming.security.credentials" value="mulepassword"/>
                <spring:entry key="Solace_JMS_VPN" value="mule_vpn"/>
            </spring:map>
        </spring:property>
    </jms:connector>
 
<flow name="example1" doc:name="example1"> 
...
    <jms:endpoint topic="topicname" name="JMSTopic" connector-ref="SolaceJMS" doc:name="JMS"/>
...
</flow>
 
<flow name="example1" doc:name="example1">
...
    <jms:endpoint queue="queuename" name="JMSQueue" connector-ref="SolaceJMS" doc:name="JMS"/>
...
</flow>

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.

+