Custom mail producer can not be a spring bean
---------------------------------------------
Key: JBPM-2891
URL:
https://jira.jboss.org/browse/JBPM-2891
Project: jBPM
Issue Type: Patch
Security Level: Public (Everyone can see)
Components: Runtime Engine
Reporter: Marta Psenkova
Attachments: custom_mail_producer_expr.pvm.r6398.patch
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira