New in 5.1.3U1: destination lookup semantics of createQueue() and createTopic().
Name | Meaning |
---|---|
JMSJCA.QueueCF | JNDI name of queue connection factory (javax.jms.QueueConnectionFactory) |
JMSJCA.TopicCF | JNDI name of topic connection factory (javax.jms.TopicConnectionFactory) |
JMSJCA.UnifiedCF | JNDI name of connection factory (javax.jms.ConnectionFactory) |
If the property java.naming.factory.initial is specified, the InitialContext is created using the complete set of properties specified in the URL and or the options field. If the property java.naming.factory.initial is not specified, the InitialContext is created using its default constructor.
java.naming.factory.initial=com.stc.jms.jndispi.InitialContextFactory java.naming.provider.url=stcms://localhost:18007 java.naming.security.principal=Administrator java.naming.security.credentials=STC JMSJCA.TopicCF=connectionfactories/xatopicconnectionfactory JMSJCA.QueueCF=connectionfactories/xaqueueconnectionfactory JMSJCA.UnifiedCF=connectionfactories/xaconnectionfactory com.stc.jms.autocommitxa=true com.stc.jms.jndispi.disconnected=true
These properties can be specified in the Options field or be encoded in the ConnectionURL. Note that if the Options field needs to be limited to one single line, e.g. because of limitation in administrative consoles, the JMSJCA.sep option can be used. Example:
JMSJCA.sep=,java.naming.factory.initial=com.stc.jms.jndispi.InitialContextFactory,java.naming.provider.url=stcms://localhost:18007,java.naming.security. principal=Administrator,java.naming.security.credentials=STC,JMSJCA.TopicCF=connectionfactories/xatopicconnectionfactory,JMSJCA.QueueCF= connectionfactories/xaqueueconnectionfactory,JMSJCA.UnifiedCF=connectionfactories/xaconnectionfactory,com.stc.jms.autocommitxa=true,com.stc.jms. jndispi.disconnected=true
The same thing will happen if the destination is specified as lookup://q and q is an administrative object with name jndi://queues/Queue1.