...
| Code Block |
|---|
resource.ds.className=bitronix.tm.resource.jms.JndiXAConnectionFactory resource.ds.uniqueName=hornet resource.ds.maxPoolSize=5 resource.ds.driverProperties.initialContextFactory=org.jnp.interfaces.NamingContextFactory resource.ds.driverProperties.providerUrl=jnp://localhost:1099 resource.ds.driverProperties.extraJndiProperties.java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces resource.ds.driverProperties.name=XAConnectionFactory |
SonicMQ (Progress Software)
Supported version(s)
Tested against versions 7.6. The JndiXAConnectionFactory included in BTM 1.3.2 and lower is too limited (extraJndiProperties), you need BTM 1.3.3 or higher to use SonicMQ. Seems to support local transactions.
Settings
All default settings are fine.
Heuristics
Still under investigation.
Example ResourceLoader configuration
| Code Block |
|---|
resource.cf.className=bitronix.tm.resource.jms.JndiXAConnectionFactory
resource.cf.uniqueName=sonicmq
resource.cf.maxPoolSize=5
resource.cf.driverProperties.initialContextFactory=com.sonicsw.jndi.mfcontext.MFContextFactory
resource.cf.driverProperties.providerUrl=tcp://localhost:2506
resource.cf.driverProperties.securityPrincipal=username
resource.cf.driverProperties.securityCredentials=password
resource.cf.driverProperties.name=xaConnectionFactory
resource.cf.driverProperties.extraJndiProperties.com.sonicsw.jndi.mfcontext.domain=domain
|
Required Jars
mfcontext-7.6.jar, sonic_Client-7.6.jar (warning JMS API is included in the Jar), sonic_Crypto-7.6.jar, sonic_XA-7.6.jar, sonic_XMessage-7.6.jar
