Right now there's now way to do this at runtime.  We are partially hoping
that Avalon will support reloading of the server app, but I was thinking we
may go ahead and add this for just the mailets, since really we don't want
the entire application to restart, just the mailet processing configuration.
We'd have to take a custom class loader so we could reload these easily, and
maybe at some point even support automatic compilation for changed classes,
and other things that web application servers do.

But like someone said, for forwarding you may just want to do it based on a
database table (or file).

Serge Knystautas
Loki Technologies
http://www.lokitech.com/
----- Original Message -----
From: "Peter Romianowski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 06, 2001 10:49 AM
Subject: Dynamic Configuration (at run time)


> Hi there,
>
> for the application I write I need to construct a lot of mail aliases
> (forwards) at runtime. I already set up aliases using the <mailet
> match="[EMAIL PROTECTED]" class="Forward"> - thing. Works great. But
> with this solution I hava to restart James in order to read the
> configuration again.
> Is there any way to add mailet-configuration at runtime?
>
> thanks,
> pero
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to