org.objectweb.joram.client.jms
Class FactoryParameters
java.lang.Object
org.objectweb.joram.client.jms.FactoryParameters
- java.io.Serializable
public class FactoryParameters
extends java.lang.Object
implements java.io.Serializable
A FactoryParameters
instance holds a
<XA>ConnectionFactory
configuration parameters.
- Serialized Form
int | cnxPendingTimer - Period in milliseconds between two ping requests sent by the client
connection to the server; if the server does not receive any ping
request during more than 2 * cnxPendingTimer, the connection is
considered as dead and processed as required.
|
int | connectingTimer - Duration in seconds during which connecting is attempted (connecting
might take time if the server is temporarily not reachable); the 0 value
is set for connecting only once and aborting if connecting failed.
|
int | txPendingTimer - Duration in seconds during which a JMS transacted (non XA) session might
be pending; above that duration the session is rolled back and closed;
the 0 value means "no timer".
|
String | getHost() - Returns the name of host hosting the server to create connections with.
|
int | getPort() - Returns the port to be used for accessing the server.
|
cnxPendingTimer
public int cnxPendingTimer
Period in milliseconds between two ping requests sent by the client
connection to the server; if the server does not receive any ping
request during more than 2 * cnxPendingTimer, the connection is
considered as dead and processed as required.
connectingTimer
public int connectingTimer
Duration in seconds during which connecting is attempted (connecting
might take time if the server is temporarily not reachable); the 0 value
is set for connecting only once and aborting if connecting failed.
txPendingTimer
public int txPendingTimer
Duration in seconds during which a JMS transacted (non XA) session might
be pending; above that duration the session is rolled back and closed;
the 0 value means "no timer".
FactoryParameters
public FactoryParameters(String host,
int port)
Constructs a FactoryParameters
instance.
host
- Name of host hosting the server to create connections with.port
- Port to be used for accessing the server.
getHost
public String getHost()
Returns the name of host hosting the server to create connections with.
getPort
public int getPort()
Returns the port to be used for accessing the server.
Copyright B) 2004 Scalagent - All rights reserved