Package com.tibco.tibems.ufo
Class TibjmsUFOTopicConnectionFactory
- java.lang.Object
-
- com.tibco.tibems.ufo.TibjmsUFOConnectionFactory
-
- com.tibco.tibems.ufo.TibjmsUFOTopicConnectionFactory
-
- All Implemented Interfaces:
com.tibco.tibems.ufo.TibjmsUFOxConst,java.io.Externalizable,java.io.Serializable,java.lang.Cloneable,ConnectionFactory,TopicConnectionFactory
public class TibjmsUFOTopicConnectionFactory extends TibjmsUFOConnectionFactory implements TopicConnectionFactory, java.io.Externalizable
UFO Implementation of javax.jms.TopicConnectionFactory.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TibjmsUFOTopicConnectionFactory()TibjmsUFOTopicConnectionFactory(TibjmsTopicConnectionFactory factory)TibjmsUFOTopicConnectionFactory(java.lang.String serverUrls)TibjmsUFOTopicConnectionFactory(java.lang.String serverUrls, java.lang.String clientId)TibjmsUFOTopicConnectionFactory(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()TopicConnectioncreateTopicConnection()Creates a topic connection with the default user identity.TopicConnectioncreateTopicConnection(java.lang.String userName, java.lang.String password)Creates a topic 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
-
TibjmsUFOTopicConnectionFactory
public TibjmsUFOTopicConnectionFactory()
-
TibjmsUFOTopicConnectionFactory
public TibjmsUFOTopicConnectionFactory(java.lang.String serverUrls)
-
TibjmsUFOTopicConnectionFactory
public TibjmsUFOTopicConnectionFactory(java.lang.String serverUrls, java.lang.String clientId)
-
TibjmsUFOTopicConnectionFactory
public TibjmsUFOTopicConnectionFactory(java.lang.String serverUrls, java.lang.String clientId, java.util.Map properties)
-
TibjmsUFOTopicConnectionFactory
public TibjmsUFOTopicConnectionFactory(TibjmsTopicConnectionFactory factory) throws JMSException
- Throws:
JMSException
-
-
Method Detail
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedException- Overrides:
clonein classTibjmsUFOConnectionFactory- Throws:
java.lang.CloneNotSupportedException
-
createTopicConnection
public TopicConnection createTopicConnection() throws JMSException
Description copied from interface:TopicConnectionFactoryCreates a topic 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:
createTopicConnectionin interfaceTopicConnectionFactory- Returns:
- a newly created topic connection
- Throws:
JMSException- if the Jakarta Messaging provider fails to create a topic connection due to some internal error.JMSSecurityException- if client authentication fails due to an invalid user name or password.
-
createTopicConnection
public TopicConnection createTopicConnection(java.lang.String userName, java.lang.String password) throws JMSException
Description copied from interface:TopicConnectionFactoryCreates a topic 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:
createTopicConnectionin interfaceTopicConnectionFactory- Parameters:
userName- the caller's user namepassword- the caller's password- Returns:
- a newly created topic connection
- Throws:
JMSException- if the Jakarta Messaging provider fails to create a topic 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()
-
-