Hi all,

I'm developing bam-toolbox that reads custom log column families from the
embedded cassandra database in bam.

For that i need to access WSO2BAM_CASSANDRA_DATASOURCE by using a
cassandra-jdbc client.

I have packaged the client as a jar and deployed it in
repostory/components/libs and accessed it's methods from jaggery code of
the bam toolbox.

I have couple of questions,

1. Is their a way i can get cassandra jdbc URL
*"jdbc:cassandra://localhost:9160/EVENT_KS"*  without reading XML's
programmatically? from *bam 2.4.1* this datasource configuration has been
moved to bam-datasources.xml but in* 2.4.0* it was in master-datasources.xml

2. cassandra datasource isn't exposed as an jndi resource by default so is
their a way i can access it from java (from the way i deploy the jar) just
by specifying the data source name?
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to