Arnaud Simon wrote:
Hi Rupert,
It must have been filtered out.
So here it is in plain text:
Interface MessageStore
{
/**
/* Create a queue.
/*
/* throws:
/* InternalErrorException
/**
void createQueue(Queue queue) throws
InternalErrorException
One note here - in the C++ broker, I'd like to pass a more restricted
interface to Queue and Message to the messagestore. The messagestore
(and other future "plug-in" extensions I imagine) don't need access to
the full internal definitions, and a more restricted interface would
make future refactoring of internals much easier, especially if we do
end up with more such plug-ins (e.g. 3rd party custom exchanges etc.)
This came up in a practical sense for me during 0-9 refactoring - I had
to read the whole bdbstore code to discover that it really only cares
about being able to encode() and decode() queue and message objects and
get unique identifiers from them. I don't know what the java interfaces
are like but this might be worth considering - or it might be something
for later.
Cheers,
Alan.