Using configured data source in custom mailet

2010-07-27 Thread Shahid Faiz
Hi, How can i use configured data source in my custom mailet, or these data sources can't be used? Thanks,

Re: Using configured data source in custom mailet

2010-07-27 Thread Ranjib Dey
mailet config? u can specify arbitrary type & number of parameters in config.xml () , and fetch them back via mailetconfig.getInitParameter() . i have used these mechanism to access persistent data storage (rdbms, file server[in case u r not chrooted], serialized objects etc ). the docs are also

Re: Using configured data source in custom mailet

2010-07-27 Thread Shahid Faiz
you are right, we can use config parameters for connection configuration. i just wanted to know, if i can use the same data source which is configured and used for repository (mail boxes). thanks, shahid On Tue, Jul 27, 2010 at 8:33 PM, Ranjib Dey wrote: > mailet config? u can specify arbitrary