Package com.tibco.tibjms
Class TibjmsQueueConnectionFactory
- java.lang.Object
-
- com.tibco.tibjms.TibjmsxCFImpl
-
- com.tibco.tibjms.TibjmsConnectionFactory
-
- com.tibco.tibjms.TibjmsQueueConnectionFactory
-
- All Implemented Interfaces:
com.tibco.tibjms.TibjmsXMLConst,java.io.Externalizable,java.io.Serializable,java.lang.Cloneable,ConnectionFactory,QueueConnectionFactory,javax.naming.Referenceable
public class TibjmsQueueConnectionFactory extends TibjmsConnectionFactory implements QueueConnectionFactory, java.io.Externalizable, javax.naming.Referenceable, java.lang.Cloneable
Implementation of javax.jms.QueueConnectionFactory.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.tibco.tibjms.TibjmsxCFImpl
_clientID, _properties, _url, _wasCreatedByUfo
-
Fields inherited from interface com.tibco.tibjms.TibjmsXMLConst
TIBJMS_LDAP_ADMINOBJ, TIBJMS_LDAP_CN, TIBJMS_LDAP_OBJCLASS, TIBJMS_LDAP_TOP, TIBJMS_LDAP_XMLDATA, TIBJMS_XML_ADMINOBJ, TIBJMS_XML_AUTHONLY, TIBJMS_XML_AUTHORITIES, TIBJMS_XML_B64DATA, TIBJMS_XML_CERT, TIBJMS_XML_CERTS, TIBJMS_XML_CIDENTITY, TIBJMS_XML_CIPHERS, TIBJMS_XML_CLIENTID, TIBJMS_XML_CONFACT, TIBJMS_XML_CONNATTEMPTS, TIBJMS_XML_CONNATTEMPTTIMEOUT, TIBJMS_XML_CONNDELAY, TIBJMS_XML_DEBUG_TRACE, TIBJMS_XML_DESTTYPE, TIBJMS_XML_DISABLED, TIBJMS_XML_DTDURL, TIBJMS_XML_ENABLED, TIBJMS_XML_ENCODING, TIBJMS_XML_EXPECTHNAME, TIBJMS_XML_FILE, TIBJMS_XML_GENERIC, TIBJMS_XML_GENPARAMS, TIBJMS_XML_ISSUER, TIBJMS_XML_METRIC, TIBJMS_XML_MULTICAST, TIBJMS_XML_MULTICAST_DAEMON, TIBJMS_XML_NAME, TIBJMS_XML_OAUTH2_CLIENT_ID, TIBJMS_XML_OAUTH2_DISABLE_VERIFY_HOSTNAME, TIBJMS_XML_OAUTH2_EXPECTED_HOSTNAME, TIBJMS_XML_OAUTH2_SERVER_TRUST_FILE, TIBJMS_XML_OAUTH2_SERVER_URL, TIBJMS_XML_OAUTH2PARAMS, TIBJMS_XML_PARAMETER, TIBJMS_XML_PASSWORD, TIBJMS_XML_PKEY, TIBJMS_XML_QUEUE, TIBJMS_XML_RECONNATTEMPTS, TIBJMS_XML_RECONNATTEMPTTIMEOUT, TIBJMS_XML_RECONNDELAY, TIBJMS_XML_SECPARAMS, TIBJMS_XML_SSLPARAMS, TIBJMS_XML_TOPIC, TIBJMS_XML_TRACE, TIBJMS_XML_TRUSTED, TIBJMS_XML_URL, TIBJMS_XML_USERNAME, TIBJMS_XML_VALUE, TIBJMS_XML_VENDOR, TIBJMS_XML_VERIFYHNAME, TIBJMS_XML_VERIFYHOST, TIBJMS_XML_XA
-
-
Constructor Summary
Constructors Constructor Description TibjmsQueueConnectionFactory()TibjmsQueueConnectionFactory(java.lang.String serverUrl)TibjmsQueueConnectionFactory(java.lang.String serverUrl, java.lang.String clientId)TibjmsQueueConnectionFactory(java.lang.String serverUrl, java.lang.String clientId, java.util.Map properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()QueueConnectioncreateQueueConnection()Creates a queue connection with the default user identity.QueueConnectioncreateQueueConnection(java.lang.String userName, java.lang.String password)Creates a queue connection with the specified user identity.voidreadExternal(java.io.ObjectInput in)voidwriteExternal(java.io.ObjectOutput out)-
Methods inherited from class com.tibco.tibjms.TibjmsConnectionFactory
createConnection, createConnection, createContext, createContext, createContext, createContext, getSSLProxyHost, getSSLProxyPassword, getSSLProxyPort, getSSLProxyUser, setClientID, setConnAttemptCount, setConnAttemptDelay, setConnAttemptTimeout, setMetric, setMulticastDaemon, setMulticastEnabled, setOAuth2AccessToken, setOAuth2ClientId, setOAuth2ClientSecret, setOAuth2DisableVerifyHostname, setOAuth2ExpectedHostname, setOAuth2ServerTrustFile, setOAuth2ServerTrustFile, setOAuth2ServerUrl, setOAuth2TokenFetchCallback, setReconnAttemptCount, setReconnAttemptDelay, setReconnAttemptTimeout, setServerUrl, setSSLAuthOnly, setSSLCipherSuites, setSSLDebugTrace, setSSLEnableVerifyHost, setSSLEnableVerifyHostName, setSSLExpectedHostName, setSSLIdentity, setSSLIdentity, setSSLIdentityEncoding, setSSLIssuerCertificate, setSSLIssuerCertificate, setSSLIssuerCertificate, setSSLPassword, setSSLPrivateKey, setSSLPrivateKey, setSSLPrivateKeyEncoding, setSSLProxy, setSSLProxyAuth, setSSLTrace, setSSLTrustedCertificate, setSSLTrustedCertificate, setSSLTrustedCertificate, setSSLVendor, setUserName, setUserPassword
-
Methods inherited from class com.tibco.tibjms.TibjmsxCFImpl
_getCurrentUrl, buildXML, getClientID, getCurrentUrl, getMetric, getProperties, getReference, getUrl, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface javax.jms.ConnectionFactory
createConnection, createConnection, createContext, createContext, createContext, createContext
-
-
-
-
Constructor Detail
-
TibjmsQueueConnectionFactory
public TibjmsQueueConnectionFactory()
-
TibjmsQueueConnectionFactory
public TibjmsQueueConnectionFactory(java.lang.String serverUrl)
-
TibjmsQueueConnectionFactory
public TibjmsQueueConnectionFactory(java.lang.String serverUrl, java.lang.String clientId)
-
TibjmsQueueConnectionFactory
public TibjmsQueueConnectionFactory(java.lang.String serverUrl, java.lang.String clientId, java.util.Map properties)
-
-
Method Detail
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedException- Overrides:
clonein classTibjmsConnectionFactory- Throws:
java.lang.CloneNotSupportedException
-
createQueueConnection
public QueueConnection createQueueConnection() throws JMSException
Description copied from interface:QueueConnectionFactoryCreates a queue connection with the default user identity. The connection is created in stopped mode. No messages will be delivered until theConnection.startmethod is explicitly called.- Specified by:
createQueueConnectionin interfaceQueueConnectionFactory- Returns:
- a newly created queue connection
- Throws:
JMSException- if the Jakarta Messaging provider fails to create the queue connection due to some internal error.JMSSecurityException- if client authentication fails due to an invalid user name or password.
-
createQueueConnection
public QueueConnection createQueueConnection(java.lang.String userName, java.lang.String password) throws JMSException
Description copied from interface:QueueConnectionFactoryCreates a queue connection with the specified user identity. The connection is created in stopped mode. No messages will be delivered until theConnection.startmethod is explicitly called.- Specified by:
createQueueConnectionin interfaceQueueConnectionFactory- Parameters:
userName- the caller's user namepassword- the caller's password- Returns:
- a newly created queue connection
- Throws:
JMSException- if the Jakarta Messaging provider fails to create the queue connection due to some internal error.JMSSecurityException- if client authentication fails due to an invalid user name or password.
-
writeExternal
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException- Specified by:
writeExternalin interfacejava.io.Externalizable- Overrides:
writeExternalin classTibjmsConnectionFactory- Throws:
java.io.IOException
-
readExternal
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException- Specified by:
readExternalin interfacejava.io.Externalizable- Overrides:
readExternalin classTibjmsConnectionFactory- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
-