Package com.tibco.tibems.ufo
Class TibjmsUFOQueueConnectionFactory
- java.lang.Object
-
- com.tibco.tibems.ufo.TibjmsUFOConnectionFactory
-
- com.tibco.tibems.ufo.TibjmsUFOQueueConnectionFactory
-
- All Implemented Interfaces:
com.tibco.tibems.ufo.TibjmsUFOxConst,java.io.Externalizable,java.io.Serializable,java.lang.Cloneable,ConnectionFactory,QueueConnectionFactory
public class TibjmsUFOQueueConnectionFactory extends TibjmsUFOConnectionFactory implements QueueConnectionFactory, java.io.Externalizable
UFO Implementation of javax.jms.QueueConnectionFactory.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TibjmsUFOQueueConnectionFactory()TibjmsUFOQueueConnectionFactory(TibjmsQueueConnectionFactory factory)TibjmsUFOQueueConnectionFactory(java.lang.String serverUrls)TibjmsUFOQueueConnectionFactory(java.lang.String serverUrls, java.lang.String clientId)TibjmsUFOQueueConnectionFactory(java.lang.String serverUrls, 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.java.lang.StringgetCurrentUrl()voidreadExternal(java.io.ObjectInput in)java.lang.StringtoString()voidwriteExternal(java.io.ObjectOutput out)-
Methods inherited from class com.tibco.tibems.ufo.TibjmsUFOConnectionFactory
createConnection, createConnection, createContext, createContext, createContext, createContext, getSSLProxyHost, getSSLProxyPassword, getSSLProxyPort, getSSLProxyUser, recoverConnection, setBlockingOnRecovery, 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 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
-
TibjmsUFOQueueConnectionFactory
public TibjmsUFOQueueConnectionFactory()
-
TibjmsUFOQueueConnectionFactory
public TibjmsUFOQueueConnectionFactory(java.lang.String serverUrls)
-
TibjmsUFOQueueConnectionFactory
public TibjmsUFOQueueConnectionFactory(java.lang.String serverUrls, java.lang.String clientId)
-
TibjmsUFOQueueConnectionFactory
public TibjmsUFOQueueConnectionFactory(java.lang.String serverUrls, java.lang.String clientId, java.util.Map properties)
-
TibjmsUFOQueueConnectionFactory
public TibjmsUFOQueueConnectionFactory(TibjmsQueueConnectionFactory factory) throws JMSException
- Throws:
JMSException
-
-
Method Detail
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedException- Overrides:
clonein classTibjmsUFOConnectionFactory- 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 classTibjmsUFOConnectionFactory- 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 classTibjmsUFOConnectionFactory- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getCurrentUrl
public java.lang.String getCurrentUrl()
-
-