Btw, if you want to reuse the existing jpa connection (or jdbc connection pool) in your custom mailbox, that's another question, and yes, you can do this in the spring configuration files (which read james-database.properties).

Tell us if you need more info on this.

Thx, Eric

On 24/12/2012 12:58, Eric Charles wrote:
No.

For this, you will need to write a custom spring
BeanFactoryPostProcessor (seep [1] for the current one)

One the longer goal to james is to be more friendly regarding
configuration (extension, hot reload...)

Thx, Eric

[1]
https://svn.apache.org/repos/asf/james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/bean/factorypostprocessor/MailboxConfigurationBeanFactoryPostProcessor.java





On 24/12/2012 12:40, Martin Hewitt wrote:
Hi all,

I'm writing a custom Mailbox and need to provide database configuration
details to it.

Is there a way of passing this info through the mailbox.conf file?

Thanks,

Martin


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org

Reply via email to