JMS Providers and their Jar Files

If any JMS implementation is used, QFlow also requires the providers' jar files and their JNDI services. If the implementation is not pure Java, you also need to add their shared libraries in the library path. All the tested JMS providers are listed below:

ProviderProductRequired JarsJNDI Example
Common JMS
  • jms.jar
  • jndi.jar
  • connector.jar
  • jta.jar
  • providerutil.jar
  • PROVIDER_URL: URI
  • INITIAL_CONTEXT_FACTORY: ContextFactory
  • SECURITY_PRINCIPAL: Username
  • SECURITY_CREDENTIALS: Password
IBM WebSphere MQ
  • com.ibm.mq.jar
  • com.ibm.mqbind.jar
  • com.ibm.mqjms.jar
  • fscontext.jar
  • ldap.jar
  • URI: file:///opt/qbroker/jndi/wmq
  • ContextFactory: com.sun.jndi.fscontext.RefFSContextFactory
  • ConnectionFactoryName: myQCF
  • QueueName: myQueue
  • TopicName: myTopic
BEA WebLogic JMS
  • weblogic.jar
  • URI: t3://panda1:7003
  • ContextFactory: weblogic.jndi.WLInitialContextFactory
  • Username: system
  • Password: xxxx
  • ConnectionFactoryName: j2eecms_i2/jms/JMSConnectionFactory
  • QueueName: j2eecms_i2/jms/NewAssetQueue
  • TopicName: j2eecms_i2/jms/NewAssetTopic
Sun Message Queue
Open MQ
  • fscontext.jar
  • ldap.jar
  • imq.jar
  • URI: file:///opt/qbroker/jndi/imq
  • ContextFactory: com.sun.jndi.fscontext.RefFSContextFactory
  • ConnectionFactoryName: myQCF
  • QueueName: myQueue
  • TopicName: myTopic
Sun Glassfish V2 JMS
  • appserv-launch.jar
  • appserv-rt.jar
  • appserv-admin.jar
  • javaee.jar
  • imqjmsra.jar
  • imq.jar
  • URI: iiop://hostname:3700
  • ContextFactory: com.sun.appserv.naming.S1ASCtxFactory
  • ConnectionFactoryName: myQCF
  • QueueName: myQueue
  • TopicName: myTopic
NB. require to set endpoints in JVM as -Dcom.sun.appserv.iiop.endpoints=hostname:3700
Sun Glassfish V3 JMS
  • annotation-framework.jar
  • appclient.security.jar
  • auto-depends.jar
  • bean-validator.jar
  • common-util.jar
  • config-api.jar
  • config-types.jar
  • config.jar
  • connectors-inbound-runtime.jar
  • connectors-internal-api.jar
  • connectors-runtime.jar
  • container-common.jar
  • deployment-common.jar
  • dol.jar
  • ejb-container.jar
  • ejb.security.jar
  • glassfish-api.jar
  • glassfish-corba-asm.jar
  • glassfish-corba-codegen.jar
  • glassfish-corba-csiv2-idl.jar
  • glassfish-corba-newtimer.jar
  • glassfish-corba-omgapi.jar
  • glassfish-corba-orb.jar
  • glassfish-corba-orbgeneric.jar
  • glassfish-ee-api.jar
  • glassfish-naming.jar
  • gmbal.jar
  • hk2-core.jar
  • imq.jar
  • imqjmsra.jar
  • imqutil.jar
  • internal-api.jar
  • javax.jms.jar
  • javax.persistence.jar
  • javax.resource.jar
  • javax.transaction.jar
  • jms-core.jar
  • jta.jar
  • jts.jar
  • kernel.jar
  • management-api.jar
  • orb-connector.jar
  • orb-iiop.jar
  • security.jar
  • tiger-types-osgi.jar
  • transaction-internal-api.jar
  • work-management.jar
  • URI: iiop://hostname:3700
  • ContextFactory: com.sun.enterprise.naming.SerialInitContextFactory
  • URLPkgs: com.sun.enterprise.naming
  • StateFactories: com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl
  • ConnectionFactoryName: myQCF
  • QueueName: myQueue
  • TopicName: myTopic
NB. require Java6 and to set endpoints in JVM as -Dcom.sun.appserv.iiop.endpoints=hostname:3700
Oracle Oracle AQ
  • ldap.jar
  • aqapi.jar
  • classes12.jar
  • URI: ldap://ladpserver/contextName
  • ContextFactory: com.sun.jndi.ldap.LdapCtxFactory
  • ConnectionFactoryName: cn=myQCF
  • QueueName: cn=myQueue
  • TopicName: cn=myTopic
Oracle Oracle OC4J
  • oc4j.jar
  • URI: ormi://localhost/default
  • ContextFactory: com.evermind.server.rmi.RMIInitialContextFactory
  • ConnectionFactoryName: jms/QueueConnectionFactory
  • Username: admin
  • Password: admin
  • QueueName: jms/demoQueue
  • TopicName: jms/demoTopic
Sonic Software Sonic MQ
  • mfcontext.jar
  • sonic_Client.jar
  • sonic_Crypto.jar
  • sonic_XA.jar
  • URI: tcp://localhost:2506
  • ContextFactory: com.sonicsw.jndi.mfcontext.MFContextFactory
  • ConnectionFactoryName: myQCF
  • QueueName: myQueue
  • TopicName: myTopic
Apache Software Fundation ActiveMQ
  • activemq-all-5.0.0.0.jar
  • commons-logging-1.2.jar
  • URI: tcp://localhost:61616
  • ContextFactory: org.apache.activemq.jndi.ActiveMQInitialContextFactory
  • ConnectionFactoryName: QueueConnectionFactory
  • QueueName: myQueue
  • TopicName: myTopic
Apache Software Fundation Qpid Messaging
  • qpid-client-0.16.jar
  • qpid-common-0.16.jar
  • slf4j-api-1.6.1.jar
  • slf4j-log4j12-1.6.1.jar
  • log4j-1.2.12.jar
  • URI: qpid:///opt/qpid/etc/qpid.properties
  • ContextFactory: org.apache.qpid.jndi.PropertiesFileInitialContextFactory
  • ConnectionFactoryName: local
  • QueueName: testQueue
  • TopicName: testTopic
NB. require java 1.6 and to define the default logger of log4j and the following jdni property file:
connectionfactory.local = amqp://quest:quest@clientid/test?brokerlist='tcp://localhost:5672'
queue.testQueue = testQueue
topic.testTopic = testTopic
JBoss JBossMQ
  • jbossmq-client.jar
  • jnp-client.jar
  • jboss-common-client.jar
  • jboss-system-client.jar
  • concurrent.jar
  • log4j.jar
  • URI: jnp://localhost:1099
  • URLPkgs: org.jboss.naming
  • ContextFactory: org.jnp.interfaces.NamingContextFactory
  • ConnectionFactoryName: ConnectionFactory
  • QueueName: queue/testQueue
  • TopicName: topic/testTopic
NB. require to define the default logger of log4j
JBoss JBoss Messaging
  • jboss-messaging-client.jar
  • jboss-remoting.jar
  • jbossall-client.jar
  • jboss-aop.jar
  • jboss-mdr.jar
  • javassist.jar
  • trvoe.jar
  • log4j.jar
  • URI: jnp://localhost:1099
  • URLPkgs: org.jboss.naming
  • ContextFactory: org.jnp.interfaces.NamingContextFactory
  • ConnectionFactoryName: /ConnectionFactory
  • QueueName: queue/testQueue
  • TopicName: topic/testTopic
NB. require to define the default logger of log4j