Robert Greig wrote:
On 23/01/07, Kevin Smith <[EMAIL PROTECTED]> wrote:
Another question - how does the Java QPID client get its config?
Purely from the
AMQP connect URL or is there a configuration mechanism similar to the
code in
the server? I'm trying to find a place to read in keystore paths,
passwords and
other types of useful SSL config info but haven't found it yet. I
_could_ put
this info on the URL but I'm concerned it would make for a very long
URL and
also introduce security issues since the keystore password would be
embedded > in
the URL also.
Ah yes, this is an area we have sidestepped so far. The reason was
that I didn't want to introduce another dependency in the client (e.g.
on commons-configuration).
So we really need a configuration mechanism for the client, ideally
that does not introduce any other dependencies.
RG
Would something as simple as a properties file work? All I really need right now
are a few name/value pairs.
--Kevin