org.objectweb.joram.mom.proxies
Class ConnectionManager
java.lang.Object
org.objectweb.joram.mom.proxies.ConnectionManager
public class ConnectionManager
- extends java.lang.Object
A ConnectionManager
is started as a service in each
MOM agent server for allowing connections with external clients.
Field Summary |
static int |
inFlow
Limit of incoming messages flow (msgs/s) requested if any, default
value is -1 (no limitation). |
static java.lang.String |
MULTI_CNX_SYNC
|
static java.lang.String |
MULTI_CNX_SYNC_DELAY
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MULTI_CNX_SYNC
public static final java.lang.String MULTI_CNX_SYNC
- See Also:
- Constant Field Values
MULTI_CNX_SYNC_DELAY
public static final java.lang.String MULTI_CNX_SYNC_DELAY
- See Also:
- Constant Field Values
inFlow
public static int inFlow
- Limit of incoming messages flow (msgs/s) requested if any, default
value is -1 (no limitation).
This value can be adjusted by setting ConnectionManager.inFlow
property. This property can be fixed either from
java
launching command, or in a3servers.xml
configuration file.
ConnectionManager
public ConnectionManager()
sendToProxy
public static final void sendToProxy(fr.dyade.aaa.agent.AgentId proxyId,
int cnxKey,
AbstractJmsRequest req,
java.lang.Object msg)
getMultiThreadSyncDelay
public static final long getMultiThreadSyncDelay()
getMultiCnxSync
public static MultiCnxSync getMultiCnxSync(fr.dyade.aaa.agent.AgentId proxyId)
init
public static void init(java.lang.String args,
boolean firstTime)
throws java.lang.Exception
- Initializes the connection manager as a service.
Creates and deploys the administration topic, the connection manager
agent and if requested the administration user proxy.
- Parameters:
args
- name and password of the administrator (optional).firstTime
- true
when the agent server starts.
- Throws:
java.lang.Exception
- Thrown when processing the String argument
or in case of a problem when deploying the ConnectionFactory.
stopService
public static void stopService()
- Stops the
ConnectionManager
service.
Copyright © 2005 Scalagent - All rights reserved