Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-2891

Custom mail producer can not be a spring bean

XMLWordPrintable

    • Icon: Patch Patch
    • Resolution: Done
    • Icon: Major Major
    • jBPM 4.4
    • jBPM 4.3
    • Runtime Engine
    • None

      It is not possible to put spring beans or expressions to custom mail producer, e.g.:

      <notification expr="#

      {jbpmCustomMailProducer}

      ">
      <field name="templateName"><string value="planning-approval-start-notifcation"/></field>
      </notification>

      this won't work, because only factory or class is allowed, but not expr.
      The solution here is to allow it

      See patch attached.

        1. JBPM-2891.patch
          14 kB
          HuiSheng Xu
        2. custom_mail_producer_expr.pvm.r6398.patch
          0.6 kB
          Macko Usko

            rebody HuiSheng Xu (Inactive)
            psenicka1301 Macko Usko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: