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.

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

              Created:
              Updated:
              Resolved: