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.Object
clone()
QueueConnection
createQueueConnection()
Creates a queue connection with the default user identity.QueueConnection
createQueueConnection(java.lang.String userName, java.lang.String password)
Creates a queue connection with the specified user identity.java.lang.String
getCurrentUrl()
void
readExternal(java.io.ObjectInput in)
java.lang.String
toString()
void
writeExternal(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, 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:
clone
in classTibjmsUFOConnectionFactory
- Throws:
java.lang.CloneNotSupportedException
-
createQueueConnection
public QueueConnection createQueueConnection() throws JMSException
Description copied from interface:QueueConnectionFactory
Creates a queue connection with the default user identity. The connection is created in stopped mode. No messages will be delivered until theConnection.start
method is explicitly called.- Specified by:
createQueueConnection
in 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:QueueConnectionFactory
Creates a queue connection with the specified user identity. The connection is created in stopped mode. No messages will be delivered until theConnection.start
method is explicitly called.- Specified by:
createQueueConnection
in 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:
writeExternal
in interfacejava.io.Externalizable
- Overrides:
writeExternal
in classTibjmsUFOConnectionFactory
- Throws:
java.io.IOException
-
readExternal
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
- Specified by:
readExternal
in interfacejava.io.Externalizable
- Overrides:
readExternal
in classTibjmsUFOConnectionFactory
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getCurrentUrl
public java.lang.String getCurrentUrl()
-
-