Robert Burrell Donkin ha scritto:
On Mon, May 12, 2008 at 10:31 PM, Stefano Bagnara <[EMAIL PROTECTED]> wrote:
 Are you thinking at a scheduled check for updates in the configuration?

no

 But the configuration is injected by Avalon: would you parse the config.xml
and resemble a new avalon configuration? (e.g: by implementing the
Reconfigurable interface from avalon, that unfortunately is not implemented
in phoenix)

i'm thinking about deploy processors and mailets which are defined
outside the configuration

Ok, maybe this time I'm following you. Something like this in config.xml:

<processor name="filter" class="org.apache.james.transport.ReloadingLinearProcessor"
  <file>filter.xml</file>
</processor>

And then "ReloadingLinearProcessor" reads its own configuration from filter.xml and is able to reload it ?

Or maybe subclassing the StateAwareProcessorList by using the processorClass configuration:
<spoolmanager>

<processorClass>org.apache.james.transport.ReloadingStateAwareProcessorList</processor>

that uses its own "processing.xml" configuration file ?

Or something different at all??

Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to