Uploaded image for project: 'James Mailet'
  1. James Mailet
  2. MAILET-6

James Config XML changes require Mailet API changes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.4
    • 3.0
    • Core API
    • None
    • James XML configuration file

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              danny@apache.org Danny Angus
              danny@apache.org Danny Angus
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: