|
Joram ${version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.client.jms.FactoryParameters
A FactoryParameters
instance holds a
<XA>ConnectionFactory
configuration parameters.
Field Summary | |
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". |
Constructor Summary | |
FactoryParameters(java.lang.String host,
int port)
Constructs a FactoryParameters instance. |
Method Summary | |
java.lang.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. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public int connectingTimer
public int txPendingTimer
public int cnxPendingTimer
Constructor Detail |
public FactoryParameters(java.lang.String host, int port)
FactoryParameters
instance.
host
- Name of host hosting the server to create connections with.port
- Port to be used for accessing the server.Method Detail |
public java.lang.String getHost()
public int getPort()
public java.lang.String toString()
|
Joram ${version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |