|
Joram 5.0.9 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.client.jms.FactoryParameters
public class FactoryParameters
A FactoryParameters
instance holds a
<XA>ConnectionFactory
configuration parameters.
Field Summary | |
---|---|
boolean |
asyncSend
Determines whether the produced messages are asynchronously sent or not (without or with acknowledgement) Default is false (with ack). |
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. |
boolean |
multiThreadSync
Determines whether client threads which are using the same connection are synchronized in order to group together the requests they send. |
int |
multiThreadSyncDelay
The maximum time the threads hang if 'multiThreadSync' is true. |
int |
multiThreadSyncThreshold
The maximum numbers of threads that hang if 'multiThreadSync' is true. |
java.lang.String |
outLocalAddress
This is the local IP address on which the TCP connection is activated. |
int |
outLocalPort
This is the local IP address port on which the TCP connection is activated |
int |
queueMessageReadMax
The maximum number of messages that can be read at once from a queue. |
java.lang.String |
socketFactory
Allows to define a specific factory for socket in order to by-pass compatibility problem between JDK version. |
int |
SoLinger
Enable SO_LINGER with the specified linger time in seconds, if the value is less than 0 then it disables SO_LINGER. |
int |
SoTimeout
Enable/disable SO_TIMEOUT with the specified timeout in milliseconds. |
boolean |
TcpNoDelay
Enable/disable TCP_NODELAY (disable/enable Nagle's algorithm), default value is true. |
int |
topicAckBufferMax
The maximum number of acknowledgements that can be buffered in Session.DUPS_OK_ACKNOWLEDGE mode when listening to a topic. |
int |
topicActivationThreshold
This threshold is the minimum messages number below which the subscription is activated. |
int |
topicPassivationThreshold
This threshold is the maximum messages number over which the subscription is passivated. |
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()
Constructs an empty FactoryParameters . |
|
FactoryParameters(java.lang.String url)
Constructs a FactoryParameters instance. |
|
FactoryParameters(java.lang.String host,
int port)
Constructs a FactoryParameters instance. |
Method Summary | |
---|---|
java.util.Hashtable |
code(java.util.Hashtable h,
java.lang.String prefix)
|
void |
decode(java.util.Hashtable h,
java.lang.String prefix)
|
void |
fromReference(javax.naming.Reference ref,
java.lang.String prefix)
|
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 |
getUrl()
Returns the url. |
void |
toReference(javax.naming.Reference ref,
java.lang.String prefix)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean TcpNoDelay
public int SoLinger
public int SoTimeout
public int connectingTimer
public int txPendingTimer
public int cnxPendingTimer
public java.lang.String socketFactory
public boolean asyncSend
public int queueMessageReadMax
public int topicAckBufferMax
public boolean multiThreadSync
public int multiThreadSyncDelay
public int multiThreadSyncThreshold
public int topicPassivationThreshold
public int topicActivationThreshold
public java.lang.String outLocalAddress
public int outLocalPort
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.public FactoryParameters(java.lang.String url)
FactoryParameters
instance.
url
- joram ha urlpublic FactoryParameters()
FactoryParameters
.
Method Detail |
---|
public java.lang.String getHost()
public int getPort()
public java.lang.String getUrl()
public void toReference(javax.naming.Reference ref, java.lang.String prefix)
public void fromReference(javax.naming.Reference ref, java.lang.String prefix)
public java.util.Hashtable code(java.util.Hashtable h, java.lang.String prefix)
public void decode(java.util.Hashtable h, java.lang.String prefix)
public java.lang.String toString()
toString
in class java.lang.Object
|
Joram 5.0.9 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |