Static Public Member Functions | |
synchronized Properties | getProperties (ClassLoader loader) |
Static Public Attributes | |
final String | CONFIGURATION_PROPERTY = "cmw.mom.config" |
final String | CONFIGURATION_PROPERTY_FILE = "cmw-mom-config.properties" |
final String | CONFIGURATION_FILE = "cmw-mom.properties" |
final String | CONNECTION_RETRY_PERIOD_PROPERTY = "cmw.mom.retry" |
final String | CONNECTION_RETRY_NUMBER_PROPERTY = "cmw.mom.maxretry" |
final String | CONNECTION_PING_INTERVAL_PROPERTY = "cmw.mom.ping" |
final String | USERNAME_PROPERTY = "cmw.mom.username" |
final String | PASSWORD_PROPERTY = "cmw.mom.password" |
final String | BROKER_LIST_PROPERTY = "cmw.mom.brokerlist" |
final String | LOAD_BALANCING_PROPERTY = "cmw.mom.loadbalancing" |
final String | KEEP_ALIVE_PROPERTY = "cmw.mom.keepalive" |
final String | MSG_PERSISTANCE_PROPERTY = "cmw.mom.persistance" |
final String | MSG_PRIORITY_PROPERTY = "cmw.mom.priority" |
final String | MSG_TIMETOLIVE_PROPERTY = "cmw.mom.timetolive" |
final String | SEQUENTIAL_PROPERTY = "cmw.mom.sequential" |
final String | SELECTOR_AT_BROKER_PROPERTY = "cmw.mom.selectoratbroker" |
final String | NOTIFICATION_PROPERTY = "cmw.mom.notification" |
Static Package Attributes | |
Category | cat = Category.getInstance(MomConfig.class.getName()) |
Static Private Member Functions | |
InputStream | getInputStream (ClassLoader loader, String resource) throws IOException |
void | setProperties () |
Static Private Attributes | |
Properties | cmwProperties = null |
final String | DEFAULT_CONNECTION_RETRY_PERIOD = "10" |
final String | DEFAULT_CONNECTION_RETRY_NUMBER = "99999" |
final String | DEFAULT_CONNECTION_PING_INTERVAL = "5" |
final String | DEFAULT_USERNAME = "cmw_usr" |
final String | DEFAULT_PASSWORD = "cmw_pwd" |
final String | DEFAULT_BROKER_LIST = "sljas1:2506" |
final String | DEFAULT_LOAD_BALANCING = "false" |
final String | DEFAULT_KEEP_ALIVE = "0" |
final String | DEFAULT_MSG_PERSISTANCE = "false" |
final String | DEFAULT_MSG_PRIORITY = "4" |
final String | DEFAULT_MSG_TIMETOLIVE = "60000" |
final String | DEFAULT_SEQUENTIAL = "true" |
final String | DEFAULT_SELECTOR_AT_BROKER = "false" |
final String | DEFAULT_NOTIFICATION = "false" |
|
Open the resource as Input Stream. |
|
Returns properties loaded from the CMW configuration file. The path of the configuration file can be specified with the system property "cmw.config". If this property is not specified, then the default will be used which in the CERN environment is "http://slwww/~pca/cmw/cmw.cfg". The order of priority is as follows : system properties, user defined config file, default config file, default values.
|
|
Set the right values for the properties. |
|
Field BROKER_LIST_PROPERTY |
|
|
|
|
|
Field CONFIGURATION_FILE |
|
Field CONFIG_FILE_LOCATION_PROPERTY |
|
Field CONFIGURATION_PROPERTY_FILE |
|
Field CONNECTION_PING_INTERVAL_PROPERTY |
|
Field CONNECTION_RETRY_NUMBER_PROPERTY |
|
Field CONNECTION_RETRY_PERIOD_PROPERTY |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Field KEEP_ALIVE_PROPERTY |
|
Field LOAD_BALANCING_PROPERTY |
|
Field MSG_PERSISTANCE_PROPERTY |
|
Field MSG_PRIORITY_PROPERTY |
|
Field MSG_TIMETOLIVE_PROPERTY |
|
Field NOTIFICATION_PROPERTY |
|
Field PASSWORD_PROPERTY |
|
Field SELECTOR_AT_BROKER_PROPERTY |
|
Field SEQUENTIAL_PROPERTY |
|
Field USERNAME_PROPERTY |