Cassandra expects a config file and does not expose an alternative API, for this file, that's correct. I think it's not hard to add such API but so far the demand for it didn't exist.
On Jun 4, 2010 8:01 PM, "Sten Roger Sandvik" <ste...@gmail.com> wrote: 2010/6/4 Jonathan Ellis <jbel...@gmail.com> > > look at o.a.c.service.EmbeddedCassandraService > Yes. Looked at this and the CassandraDaemon. But it seems that it's not possible to create the configuration programatically (or create the actual config file and pass it in). /srs