org.objectweb.joram.mom.proxies

Class 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).

Method Summary

static Timer
getTimer()
Returns the timer provided by the connection manager.
static void
init(String args, boolean firstTime)
Initializes the connection manager as a service.
static void
stopService()
Stops the ConnectionManager service.

Field Details

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.

Method Details

getTimer

public static final Timer getTimer()
Returns the timer provided by the connection manager.


init

public static void init(String args,
                        boolean firstTime)
            throws Exception
Initializes the connection manager as a service. Creates and deploys the aministration 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.


stopService

public static void stopService()
Stops the ConnectionManager service.


Copyright B) 2004 Scalagent - All rights reserved