Gordon Sim wrote:
Robert Godfrey wrote:
Yes - you'll definitely need the cofig that;s already in the
config.xml...
you just want to add your stuff extra.
Though a minor issue at this point, it would be nice if there were
defaults for all config items such that even without a config file (or a
'complete' one) you could run the broker.
Clearly that might mean e.g. that authentication was restricted to
guest/guest if no password file, memory store and default mina chain was
used etc. It would make it a bit easier to get up and running though.
Speaking from a testing perspective - this would be very useful. One of the
difficulties I'm encountering testing my code changes is figuring out how to get
a sanely configured broker instance up and running.
I'm not a big fan of hardcoding defaults but maybe embedding a minimal config
file in the broker jar would work. We could check for it if no config is
specified on the command line.
--Kevin
- Re: [java] config file defaults (was Re: Testing Java Bro... Kevin Smith
-