<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>
Solace JMS
The following example demonstrates how to configure Mule to use Solace JMS.