Add plugin-search-path option for plug-in loading.
--------------------------------------------------

                 Key: QPID-2571
                 URL: https://issues.apache.org/jira/browse/QPID-2571
             Project: Qpid
          Issue Type: Improvement
          Components: C++ Broker, C++ Client
    Affects Versions: 0.7
            Reporter: Alan Conway
            Assignee: Alan Conway



Goal: remove absolute paths and platform-specific suffixes from config files
- use same config in different installations or on different platforms
- enable writing portable config files for examples and doc
- simplify test-setup where plugins are loaded from non-default or multiple 
directories.

Example
 plugin-search-path=dir1:dir2 or plugin-search-path=dir1;dir2
 load-plugin=foo
This would check dir1/foo.so, dir2/foo.so on linux and dir1/foo.dll... on 
windows.

If the load-plugin value contains / or \ then it is used verbatim with no search

plugin-search-path default value would include the default
installed plugin directory(s). Setting plugin-search-path wouldn
override default path (not extend it)

Re windows vs. unix separators is it better to
- recognize both on both platforms (i.e. allow \ or / and ; or :)
- recognize only the native one (/ and : on unix, \ and ; on windows)
- use unix convention on both platforms (always / and :)

Note this affects broker and client plug-ins.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to