Petals BC MAIL

Mode 'service'

Details

  • Type: New Feature New Feature
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 3.5.1
  • Fix Version/s: 4.0.0
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide

    Nowadays, that the Petals BC Mail provided is not enough:

    • it provides a generic service for which the service consumer must set all needed parameters: subject, body, addresses and mail server information. With this generic service, the service consumer can customize mail subject, body and addresses,
    • it provides a mode 'static' where all parameters are set in the SU JBI descriptor. It's very good for mail server. But mail subject, body and addresses can not be customized by the service consumer information

    So it is needed to improve this component to introduce a mode 'service' using annotations in WSDL. Following information can be extracted from the incoming payload as explained:

    • mail subject, defined as a String containing XPath placeholders that are evaluated at runtime,
    • mail body:
      • defined as a Sting containing XPath placeholders that are evaluated at runtime,
      • or, defined through an embedded XSL,
      • or, defined from an embedded template containing XPath placeholders that are evaluated at runtime,
    • target addresses ('to'), defined through an XPath expression returning a liste of Node,
    • mail headers:
      • with a header name defined as a constant,
      • and a value defined as a Sting containing XPath placeholders that are evaluated at runtime,
    • flags to enable delivery status notification, and to defined the notification content.
    Show
    Nowadays, that the Petals BC Mail provided is not enough:
    • it provides a generic service for which the service consumer must set all needed parameters: subject, body, addresses and mail server information. With this generic service, the service consumer can customize mail subject, body and addresses,
    • it provides a mode 'static' where all parameters are set in the SU JBI descriptor. It's very good for mail server. But mail subject, body and addresses can not be customized by the service consumer information
    So it is needed to improve this component to introduce a mode 'service' using annotations in WSDL. Following information can be extracted from the incoming payload as explained:
    • mail subject, defined as a String containing XPath placeholders that are evaluated at runtime,
    • mail body:
      • defined as a Sting containing XPath placeholders that are evaluated at runtime,
      • or, defined through an embedded XSL,
      • or, defined from an embedded template containing XPath placeholders that are evaluated at runtime,
    • target addresses ('to'), defined through an XPath expression returning a liste of Node,
    • mail headers:
      • with a header name defined as a constant,
      • and a value defined as a Sting containing XPath placeholders that are evaluated at runtime,
    • flags to enable delivery status notification, and to defined the notification content.
  • Environment:
    -

Activity

Hide
Christophe DENEUX added a comment - Fri, 2 Sep 2016 - 21:35:03 +0200

A first version of this feature was committed into cdeneux's sandbox

Show
Christophe DENEUX added a comment - Fri, 2 Sep 2016 - 21:35:03 +0200 A first version of this feature was committed into cdeneux's sandbox
Hide
Christophe DENEUX added a comment - Tue, 13 Jun 2017 - 10:55:13 +0200

30 Sept 20116: Merged in trunk.

Show
Christophe DENEUX added a comment - Tue, 13 Jun 2017 - 10:55:13 +0200 30 Sept 20116: Merged in trunk.
Hide
Christophe DENEUX added a comment - Tue, 13 Jun 2017 - 10:55:43 +0200

Reopened to add support of mail header in service mode only

Show
Christophe DENEUX added a comment - Tue, 13 Jun 2017 - 10:55:43 +0200 Reopened to add support of mail header in service mode only
Hide
Christophe DENEUX added a comment - Tue, 13 Jun 2017 - 11:13:34 +0200

Mail header support added in trunk

Show
Christophe DENEUX added a comment - Tue, 13 Jun 2017 - 11:13:34 +0200 Mail header support added in trunk

People

Dates

  • Created:
    Fri, 2 Sep 2016 - 16:07:10 +0200
    Updated:
    Tue, 13 Jun 2017 - 11:13:34 +0200
    Resolved:
    Tue, 13 Jun 2017 - 11:13:34 +0200