Bug 419851 - Generalize loading mechanism for store, cluster and future extensions.
Summary: Generalize loading mechanism for store, cluster and future extensions.
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: beta
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Ted Ross
QA Contact: Kim van der Riet
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-12-11 14:57 UTC by Alan Conway
Modified: 2008-01-11 14:23 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2008-01-11 14:23:24 UTC


Attachments (Terms of Use)

Description Alan Conway 2007-12-11 14:57:18 UTC
Description of problem:

Currently cluster and store use slightly different mechanisms to load their
libraries. 

Store hard-codes its configuration options into the qpidd option set.

No way to load a predefined set of modules without adding command line parameters.

Solution:

Generalized options for loading libraries: 
 --load <lib> load named library.
 --load-dir <dir> load all libraries in dir.

If nothing specified load-dir defaults to a standard location where modules are
installed (e.g. /usr/lib/qpidd/) so that by default all installed libs are loaded.

Library options loaded with libraries: the store modules are hard-coded into the
broker, they should be loaded with the store library. There is already a
mechanism for this, see the cluster code.


Note You need to log in before you can comment on or make changes to this bug.