public class XATopicTcpConnectionFactory extends XATopicConnectionFactory
XATopicTcpConnectionFactory
instance is a factory of
TCP connections for XA Pub/Sub communication.Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
Deprecated.
define serialVersionUID for interoperability
|
identity, identityClassName, params, reliableClass
Modifier | Constructor and Description |
---|---|
|
XATopicTcpConnectionFactory()
Deprecated.
Constructs an
XATopicTcpConnectionFactory instance. |
private |
XATopicTcpConnectionFactory(String host,
int port)
Deprecated.
Constructs an
XATopicTcpConnectionFactory instance. |
Modifier and Type | Method and Description |
---|---|
static javax.jms.XATopicConnectionFactory |
create()
Deprecated.
Admin method creating a
javax.jms.XATopicConnectionFactory
instance for creating TCP connections with the default server. |
static javax.jms.XATopicConnectionFactory |
create(String host,
int port)
Deprecated.
Admin method creating a
javax.jms.XATopicConnectionFactory
instance for creating TCP connections with a given server. |
static javax.jms.XATopicConnectionFactory |
create(String host,
int port,
String reliableClass)
Deprecated.
Admin method creating a
javax.jms.XATopicConnectionFactory
instance for creating TCP connections with a given server. |
protected RequestChannel |
createRequestChannel(FactoryParameters params,
Identity identity,
String reliableClass)
Deprecated.
Creates the
TcpRequestChannel object specific to the protocol used. |
toString
createConnection, createConnection, createContext, createContext, createContext, createContext, createQueueConnection, createQueueConnection, createTopicConnection, createTopicConnection, createXAConnection, createXAConnection, createXAContext, createXAContext, createXAQueueConnection, createXAQueueConnection, createXATopicConnection, createXATopicConnection, fromReference, fromReference, getDefaultLogin, getDefaultPassword, getDefaultRootLogin, getDefaultRootPassword, getDefaultServerHost, getDefaultServerPort, getParameters, initIdentity, setCnxJMXBeanBaseName, setIdentityClassName, setReliableClass, toReference, toReference
getReference
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createXATopicConnection, createXATopicConnection
createXAConnection, createXAConnection
private static final long serialVersionUID
public XATopicTcpConnectionFactory()
XATopicTcpConnectionFactory
instance.
This empty constructor is needed for JNDI.
Should only be used for internal purposes.private XATopicTcpConnectionFactory(String host, int port)
XATopicTcpConnectionFactory
instance.host
- Name or IP address of the server's host.port
- Server's listening port.protected RequestChannel createRequestChannel(FactoryParameters params, Identity identity, String reliableClass) throws javax.jms.JMSException
TcpRequestChannel
object specific to the protocol used.createRequestChannel
in class AbstractConnectionFactory
params
- Connection configuration parameters.identity
- Client's identity.reliableClass
- The protocol specific class.RequestChannel
object specific to the protocol used.javax.jms.JMSException
- A problem occurs during the connection.AbstractConnectionFactory.createRequestChannel(FactoryParameters, Identity, String)
public static javax.jms.XATopicConnectionFactory create() throws ConnectException
javax.jms.XATopicConnectionFactory
instance for creating TCP connections with the default server.ConnectException
- If the admin connection is closed or broken.AbstractConnectionFactory.getDefaultServerHost()
,
AbstractConnectionFactory.getDefaultServerPort()
public static javax.jms.XATopicConnectionFactory create(String host, int port)
javax.jms.XATopicConnectionFactory
instance for creating TCP connections with a given server.host
- Name or IP address of the server's host.port
- Server's listening port.public static javax.jms.XATopicConnectionFactory create(String host, int port, String reliableClass)
javax.jms.XATopicConnectionFactory
instance for creating TCP connections with a given server.host
- Name or IP address of the server's host.port
- Server's listening port.reliableClass
- Reliable class name.Copyright © 2018 ScalAgent D.T.. All Rights Reserved.