qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Danushka Menikkumbura <danus...@wso2.com>
Subject Re: Loading Extra Modules
Date Wed, 07 May 2008 16:27:18 GMT
Alan Conway wrote:
> Danushka Menikkumbura wrote:
>> Gordon Sim wrote:
>>> Danushka Menikkumbura wrote:
>>>> Hi all,
>>>>    When I was going through the C++ Broker docs, I found there is a 
>>>> section dedicated to loading extra modules. We can specify modules 
>>>> with the option --load-module when we start the broker. Can someone 
>>>> tell me what these modules are all about please?.
>>>
>>> The modules are used for optional units of functionality that can be 
>>> enabled (or not) at runtime. E.g. support for persistence is 
>>> provided through a module.
>>>
>>>
>> Do we have the freedom of writing our own modules and couple them 
>> with the broker dynamically?. If yes, is there some sort of an API 
>> that we can make use of?
>>
>
> Yes - look at the interfaces in qpid/Plugin.h to see what a module 
> needs to implement. There are a couple of examples in the code:
>
>  qpid/sys/TCPIOPlugin.cpp
>  qpid/cluster/ClusterPlugin.cpp
>
> Patches for improved API doc comments in Plugin.h will be gratefully 
> received, also any features/improvements you find lacking for your 
> plug-in project.
>
I am more than happy to go ahead with this as I am really keen on adding 
functionality to the broker with the aid of plug-ins ;)

Danushka
> Cheers,
> Alan.
>
>
>



Mime
View raw message