]
Maciej Swiderski commented on JBPM-2891:
----------------------------------------
fair enough HuiSheng, then go for it. I wanted to make sure we're doing the right
thing. Cheers
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
Affects Versions: jBPM 4.3
Reporter: Marta Psenkova
Fix For: jBPM 4.4
Attachments: custom_mail_producer_expr.pvm.r6398.patch, JBPM-2891.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: