I will try to look at it .. Thx for your comments.
Bye, Norman 2010/1/7 Robert Burrell Donkin <[email protected]>: > On Thu, Jan 7, 2010 at 2:21 PM, Norman Maurer > <[email protected]> wrote: >> Hi Robert, >> >> what you mean with ugly hack ? Could you eleborate what you think >> needs to get cleanup ? I'm currently trying to dig into the IMAP code >> but it seemed quite complex atm ;) > > IMAP's a complex protocol ;-) > > you need to take a look at the integration code in james > >> At the moment I'm even not 100% sure if we not should just use spring >> beans to configure the Torque and OpenJPA. Maybe we could just write >> an custom Property replacer BeanPostProcessor which will set the right >> values in spring-beans.xml depending on the values of >> james-config.xml. So the "end-user" will still only have one place to >> configure stuff... >> >> Thoughts ? > > i would prefer to see the james configuration contain administration > details such as which ports to serve on. IMAP is intended to be > assembled using IoC and so is highly flexible but i think that adding > this sort of configuration to the james configuration would be a big > mistake. so, i would much prefer to see most details like torque > settings in an independent spring assembly file associated for IMAP. > for example, the configuration might contain a general data source URL > and perhaps a (possibly relative) URL for an assembly file for IMAP > but all the details would be specific to the mailbox and IMAP. > > - robert > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
