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.
Cheers,
Alan.