You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Danny Angus (JIRA)" <se...@james.apache.org> on 2007/05/08 15:15:15 UTC
[jira] Created: (JAMES-793) James Config XML changes require Mailet
API changes
James Config XML changes require Mailet API changes
---------------------------------------------------
Key: JAMES-793
URL: https://issues.apache.org/jira/browse/JAMES-793
Project: James
Issue Type: Improvement
Components: Mailet API
Affects Versions: 2.3.1rc1
Environment: James XML configuration file
Reporter: Danny Angus
Assigned To: Danny Angus
Are there any plans to change the XML Config file?
I mean that the following:
<mailet class="SendMailAsFax">
<match class="MatchFaxRecipient">
<param1><param1>
</match>
<param1><param1>
</mailet>
I am asking because it is inconvenient to add parameters to the matcher without names.
Also it is good if is possible both matcher and mailet to have common parameters with <common> tag for example.
The other idea is the parameters to be like Java Properties:
<parameters>
<parameter name="param1">value</parameter>
...
<parameter name="param1">value</parameter>
</parameters>
or instead parameter/parameters to use property/properties.
This variant is better for XML Schema definition.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] Commented: (MAILET-6) James Config XML changes require
Mailet API changes
Posted by "Danny Angus (JIRA)" <ma...@james.apache.org>.
[ https://issues.apache.org/jira/browse/MAILET-6?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494286 ]
Danny Angus commented on MAILET-6:
----------------------------------
this issue represents the API changes required to progress this enhancement.
Nesting and config params are a candidate for inclusion in future versions of the API
> James Config XML changes require Mailet API changes
> ---------------------------------------------------
>
> Key: MAILET-6
> URL: https://issues.apache.org/jira/browse/MAILET-6
> Project: Mailet API
> Issue Type: Improvement
> Environment: James XML configuration file
> Reporter: Danny Angus
> Assigned To: Danny Angus
>
> Are there any plans to change the XML Config file?
> I mean that the following:
> <mailet class="SendMailAsFax">
> <match class="MatchFaxRecipient">
> <param1><param1>
> </match>
> <param1><param1>
> </mailet>
> I am asking because it is inconvenient to add parameters to the matcher without names.
> Also it is good if is possible both matcher and mailet to have common parameters with <common> tag for example.
> The other idea is the parameters to be like Java Properties:
> <parameters>
> <parameter name="param1">value</parameter>
> ...
> <parameter name="param1">value</parameter>
> </parameters>
> or instead parameter/parameters to use property/properties.
> This variant is better for XML Schema definition.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org